SYSTEMS AND METHODS FOR SUPPORTING INHERITANCE FOR USER-DEFINED TYPES
    4.
    发明公开
    SYSTEMS AND METHODS FOR SUPPORTING INHERITANCE FOR USER-DEFINED TYPES 审中-公开
    系统和方法用于支持的继承自定义类型

    公开(公告)号:EP1683046A4

    公开(公告)日:2009-07-08

    申请号:EP04779487

    申请日:2004-07-29

    申请人: MICROSOFT CORP

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30607

    摘要: Various embodiments of the present invention are directed to a database with an extensible type system for at least one user-defined type that comprises information for describing its structure as well as information for describing an inheritance relationship between itself and another user-defined type (either a subtype or a supertype/base type). For certain embodiments, the user-defined type is defined in something other than Sequential Query Language (SQL) statement such as, for example, a Common Language Runtime (CLR) statement, a statement in C, C++, and C# ("C-sharp"), and/or a visual basic statement. In any event, several embodiments are further directed to a system wherein the database is aware of the inheritance relationship between two user-defined types by an explicit registration of the userdefined types with said database.

    SQL LANGUAGE EXTENSIONS FOR MODIFYING COLLECTION-VALUED AND SCALAR VALUED COLUMNS IN A SINGLE STATEMENT
    5.
    发明公开
    SQL LANGUAGE EXTENSIONS FOR MODIFYING COLLECTION-VALUED AND SCALAR VALUED COLUMNS IN A SINGLE STATEMENT 审中-公开
    SQL语言的扩展,用于修改SAMMLUNGSWERTIGENUND标量值列单指令

    公开(公告)号:EP1597655A4

    公开(公告)日:2008-12-10

    申请号:EP04779537

    申请日:2004-07-29

    申请人: MICROSOFT CORP

    摘要: A technique for updating collection-valued and other complex structured columns (see figure 6) in a nested table using a nested extension of an UPDATE statement that uses syntax and semantics to modify collection-valued columns in a way that is analogous to the syntax and semantics of the UPDATE statement that is used to modify scalar-valued columns of the table (called the outer UPDATE). Using the same syntactic and semantic constructs as the table at the outer level allows an existing implementation that processes modifications to relational tables to reuse its implementation techniques for processing outer updates to modify' collection-valued columns as well. The UPDATE extensions enable the specification of updates to nested collections embedded at arbitrary levels of depth in the object model. The new syntax is embedded inside the outer UPDATE statement in a way that parallels the structure of the data itself and thus maps more directly to the user’s conceptual model of the data. The method for implementing the UPDATE extensions uses a change descriptor, which is a data structure that aggregates substantially all changes, both scalar and collection-value that can be applied to the changed collection-valued column. The change descriptor includes hierarchical information for the cell, thereby enabling efficient application of multiple updates at various granularity levels.