Open Data Services Architecture

Open Data Services is an interface between server Net-Libraries and server-based applications. It allows you to develop:

Open Data Services has an API consisting of function calls and macros used to develop Open Data Services server applications using C or C++.

Open Data Services runs on the server. The server Net-Libraries receive client TDS packets and pass them to Open Data Services. Open Data Services transforms the TDS packets into events that it passes to server applications through callback API functions. The server application then uses another set of Open Data Services API functions to send replies back to SQL Server clients. SQL Server is implemented as an Open Data Services application. Open Data Services is started automatically when you start SQL Server.

The main type of Open Data Services applications still written by customers are extended stored procedures. This feature of SQL Server allows you to implement C or C++ functions that can be called directly from Transact-SQL statements. Extended stored procedures can open a connection back to the SQL Server installation that called them, or connect to remote SQL Server installations. Extended stored procedures can include most of the features of Microsoft Win32® and COM applications, and extend Transact-SQL functionality.

In the past, Open Data Services was also used to write server applications, such as gateways, to other database systems. These types of applications have largely been replaced by newer technologies such as:

See Also

Programming Open Data Services

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.