Systems and methods for hosting the common language runtime in a database management system
    3.
    发明申请
    Systems and methods for hosting the common language runtime in a database management system 审中-公开
    在数据库管理系统中托管公共语言运行库的系统和方法

    公开(公告)号:US20050187980A1

    公开(公告)日:2005-08-25

    申请号:US10776371

    申请日:2004-02-10

    IPC分类号: G06F7/00 G06F17/30

    CPC分类号: G06F16/252

    摘要: The present invention the is directed to systems and methods for hosting the CLR in a DBMS in order to achieve reliability, scalability, security, and robustness for enabled DBMS programming features. Integrating the CLR with a DBMS enables programming features in the database such as stored procedures, functions, triggers, types, and aggregates to be written in any of the programming languages that are compiled into IL code supported by the CLR. For the various embodiments of the present invention, the CLR is hosted inside the DBMS and, instead of making requests directly to the server operating system, the CLR instead interfaces with the DBMS via DBMS APIs for such requests, and only the DBMS directly interfaces with the server operating system to access the server.

    摘要翻译: 本发明涉及用于在DBMS中托管CLR以便实现启用的DBMS编程特征的可靠性,可扩展性,安全性和鲁棒性的系统和方法。 将CLR与DBMS集成,可以使数据库中的编程功能(例如存储过程,函数,触发器,类型和聚合)以任何编译为CLR支持的IL代码的编程语言编写。 对于本发明的各种实施例,CLR托管在DBMS内部,而不是直接向服务器操作系统提出请求,而是通过用于这种请求的DBMS API而与DBMS接口,而不是DBMS直接与 服务器操作系统访问服务器。

    System and method for storing and retrieving XML data encapsulated as an object in a database store
    4.
    发明申请
    System and method for storing and retrieving XML data encapsulated as an object in a database store 审中-公开
    用于存储和检索在数据库存储中封装为对象的XML数据的系统和方法

    公开(公告)号:US20050091231A1

    公开(公告)日:2005-04-28

    申请号:US10693158

    申请日:2003-10-24

    CPC分类号: G06F16/84 G06F16/93

    摘要: A system and method are provided for modeling structured, semi-structured, and unstructured data all within a single instance of a user defined type (UDT) within a database store. In particular, the XML data model is extended to fields of a UDT. As a result, the properties of the XML data model—such as document order and document structure—can be preserved within instances of a UDT. Moreover, code representing object behavior (i.e., methods that can be invoked on an object in managed code) can be added to the UDT to operate on an XML field, as well as non-XML fields of the UDT. This enables a framework for adding business logic to XML data. The content model of the XML data can be optionally described using XML schema documents associated with the XML fields of the UDT.

    摘要翻译: 提供了一种系统和方法,用于在数据库存储内的用户定义类型(UDT)的单个实例中对结构化,半结构化和非结构化数据进行建模。 特别地,XML数据模型扩展到UDT的字段。 因此,XML数据模型的属性(如文档顺序和文档结构)可以在UDT的实例中保留。 此外,可以将代表对象行为的代码(即,可以在托管代码中的对象上调用的方法)添加到UDT以对XML字段以及UDT的非XML字段进行操作。 这使得可以将业务逻辑添加到XML数据中。 可以使用与UDT的XML字段相关联的XML模式文档来可选地描述XML数据的内容模型。

    System and method for providing user defined types in a database system

    公开(公告)号:US20050177583A1

    公开(公告)日:2005-08-11

    申请号:US11016240

    申请日:2004-12-17

    IPC分类号: G06F7/00 G06F17/00 G06F17/30

    摘要: A database system and method allows a user to write program code in a high-level programming language that implements a class that defines the structure of a user-defined type and methods that can be invoked on instances of the type. The class is then registered with the database system, which enforces a specific contract for user-defined types against the class. The contract comprises the following requirements. First, the class must specify one of a plurality of different formats for persisting instances of the user-defined type in a database store. Second, the class must be capable of returning a null value for the user-defined type. Third, the class must provide a method for converting the user-defined type to another type. Once these requirements are satisfied, the database system enables instances of the user-defined type to be created. A user-defined type can be used in all contexts where any other built-in type can be used. This includes defining columns of tables, declaring variables and parameters to functions and stored procedures, and evaluating expressions of the user-defined type in SQL queries and updates. Preferably, the database system stores metadata about the user-defined type for subsequent use in creating instances of the type.

    System and method for providing user defined types in a database system

    公开(公告)号:US20050177585A1

    公开(公告)日:2005-08-11

    申请号:US11057475

    申请日:2005-02-14

    IPC分类号: G06F7/00 G06F17/00 G06F17/30

    摘要: A database system and method allows a user to write program code in a high-level programming language that implements a class that defines the structure of a user-defined type and methods that can be invoked on instances of the type. The class is then registered with the database system, which enforces a specific contract for user-defined types against the class. The contract comprises the following requirements. First, the class must specify one of a plurality of different formats for persisting instances of the user-defined type in a database store. Second, the class must be capable of returning a null value for the user-defined type. Third, the class must provide a method for converting the user-defined type to another type. Once these requirements are satisfied, the database system enables instances of the user-defined type to be created. A user-defined type can be used in all contexts where any other built-in type can be used. This includes defining columns of tables, declaring variables and parameters to functions and stored procedures, and evaluating expressions of the user-defined type in SQL queries and updates. Preferably, the database system stores metadata about the user-defined type for subsequent use in creating instances of the type.

    SYSTEM AND METHOD FOR PROVIDING USER DEFINED TYPES IN A DATABASE SYSTEM
    7.
    发明申请
    SYSTEM AND METHOD FOR PROVIDING USER DEFINED TYPES IN A DATABASE SYSTEM 失效
    用于在数据库系统中提供用户定义类型的系统和方法

    公开(公告)号:US20050177589A1

    公开(公告)日:2005-08-11

    申请号:US10775282

    申请日:2004-02-10

    IPC分类号: G06F7/00 G06F17/00 G06F17/30

    摘要: A database system and method allows a user to write program code in a high-level programming language that implements a class that defines the structure of a user-defined type and methods that can be invoked on instances of the type. The class is then registered with the database system, which enforces a specific contract for user-defined types against the class. The contract comprises the following requirements. First, the class must specify one of a plurality of different formats for persisting instances of the user-defined type in a database store. Second, the class must be capable of returning a null value for the user-defined type. Third, the class must provide a method for converting the user-defined type to another type. Once these requirements are satisfied, the database system enables instances of the user-defined type to be created. A user-defined type can be used in all contexts where any other built-in type can be used. This includes defining columns of tables, declaring variables and parameters to functions and stored procedures, and evaluating expressions of the user-defined type in SQL queries and updates. Preferably, the database system stores metadata about the user-defined type for subsequent use in creating instances of the type.

    摘要翻译: 数据库系统和方法允许用户以实现定义用户定义类型的结构的类的高级编程语言编写程序代码,并且可以在该类型的实例上调用方法。 该类然后向数据库系统注册,该系统针对类强制执行用户定义类型的特定合同。 合同包括以下要求。 首先,类必须为数据库存储中的用户定义类型的持久化实例指定多种不同格式之一。 第二,类必须能够返回用户定义类型的空值。 第三,类必须提供一种将用户定义类型转换为另一种类型的方法。 一旦满足这些要求,数据库系统就可以创建用户定义类型的实例。 可以在可以使用任何其他内置类型的所有上下文中使用用户定义的类型。 这包括定义表的列,将变量和参数声明为函数和存储过程,以及评估SQL查询和更新中用户定义类型的表达式。 优选地,数据库系统存储关于用户定义类型的元数据,以便随后用于创建该类型的实例。

    System and method for providing user defined aggregates in a database system
    8.
    发明申请
    System and method for providing user defined aggregates in a database system 有权
    在数据库系统中提供用户定义的聚合的系统和方法

    公开(公告)号:US20050177579A1

    公开(公告)日:2005-08-11

    申请号:US10775982

    申请日:2004-02-10

    IPC分类号: G06F7/00 G06F17/30

    摘要: A database system and method allows a user to write program code in a high-level programming language that implements a class that defines the structure of a user-defined aggregate and methods that can be invoked on instances of the user-defined aggregate. The class is then registered with the database system, which enforces a specific contract for user-defined aggregates against the class. The contract comprises the following requirements. First, the class must specify one of a plurality of different formats for persisting instances of the user-defined aggregate in a database store. Second, the class must comprise a first method that can be invoked to initialize the computation of an instance of the user-defined aggregate, a second method that can be invoked to accumulate a plurality of values to be aggregated with the user-defined aggregate, a third method that can be invoked to merge an instance of the user-defined aggregate with another partial aggregation, and a fourth method that can be invoked to compute a final result of an instance of the user-defined aggregate. Once these requirements are satisfied, the database system enables instances of the user-defined aggregate to be created. Preferably, the database system stores metadata about the user-defined aggregate for subsequent use in creating instances of the aggregate.

    摘要翻译: 数据库系统和方法允许用户以高级编程语言编写程序代码,该语言实现定义用户定义聚合的结构的类,以及可以在用户定义聚合的实例上调用的方法。 该类然后向数据库系统注册,该数据库系统针对类强制执行用户定义的聚合的特定合同。 合同包括以下要求。 首先,类必须为数据库存储中用户定义聚合的持久化实例指定多种不同格式之一。 第二,类必须包括可被调用以初始化用户定义聚合的实例的计算的第一方法,可以被调用以累积要与用户定义的聚合聚合的多个值的第二方法, 可以调用以将用户定义聚合的实例与另一部分聚合合并的第三种方法,以及可以调用以计算用户定义聚合的实例的最终结果的第四种方法。 一旦满足这些要求,数据库系统就可以创建用户定义聚合的实例。 优选地,数据库系统存储关于用户定义聚合的元数据,用于随后用于创建聚合的实例。

    Embedded multi-language programming
    9.
    发明申请
    Embedded multi-language programming 审中-公开
    嵌入式多语言编程

    公开(公告)号:US20070044066A1

    公开(公告)日:2007-02-22

    申请号:US11208228

    申请日:2005-08-19

    IPC分类号: G06F9/44

    CPC分类号: G06F8/33

    摘要: Multiple programming languages can be embedded and supported within a single source. Programs nested with syntax from a plurality of languages (e.g., C#, SQL, XML . . . ), among other things, enable users to avail themselves of advantageous aspects of different languages for particular tasks. Language services that provide language specific functionality including but not limited to formatting, intelligent assist, auto completion, and coloring, can be employed and switched between to afford support for their respective languages in a mixed language source program. Similarly, mixed language programs can be compiled with language specific services or systems such as parsers, scanners and the like to process corresponding code portions.

    摘要翻译: 多种编程语言可以在单一来源内嵌入和支持。 嵌套有来自多种语言(例如,C#,SQL,XML ...)的语法的程序等等使得用户能够利用不同语言的有利方面来执行特定任务。 可以使用提供语言特定功能的语言服务,包括但不限于格式化,智能辅助,自动完成和着色,并在混合语言源程序中为其各自语言提供支持。 类似地,混合语言程序可以用语言特定的服务或诸如解析器,扫描仪等的系统来编译以处理相应的代码部分。