Call Level Interface Guide and Reference

SQLSetColAttributes - Set Column Attributes

Status of this Function in DB2 CLI Version 5
Note:

In ODBC version 3, SQLSetColAttributes() has been deprecated.

Although this version of DB2 CLI continues to support SQLSetColAttributes(), we recommend that you stop using it in your DB2 CLI programs so that they conform to the latest standards. All arguments you pass to SQLSetColAttributes() will be ignored, and the function call will always return SQL_SUCCESS.

Now that DB2 CLI uses deferred prepare by default, there is no need for the functionality of SQLSetColAttributes(). See Deferred Prepare now on by Default for more details.

Example

See the README file in the sqllib\samples\cli (or sqllib/samples/cli) subdirectory for a list of appropriate samples.


[ Top of Page | Previous Page | Next Page ]