Moving Data to Program Variables

Applications accessing Microsoft® SQL Server™ databases through a database API must move data between application variables and:

Many database APIs use the concept of binding to specify how the data is to be moved between an application variable and the SQL Server object. Database APIs provide functions that an application can call to:

Data movement typically occurs:

The bound application variables are not required to have the same data type as the SQL Server object to which they are bound. If the data types are different, the OLE DB provider or ODBC driver converts the data when it is moved. The set of conversions supported by each OLE DB provider and ODBC driver are specified in the documentation for the provider or driver.

See Also

Using Variables and Parameters

  


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