| 4D v18ODBC_SQLSetEnvAttr | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|  | 
    4D v18
 ODBC_SQLSetEnvAttr 
         | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ODBC_SQLSetEnvAttr ( attribute ; valeur ) -> Résultat | ||||||||
| Paramètre | Type | Description | ||||||
| attribute | Entier long |   | Attribute to set | |||||
| valeur | Entier long |   | Value to set the attribute | |||||
| Résultat | Entier long |   | Returns the result of the MS ODBC API function SQLSetEnvAttr | |||||
The ODBC_SQLSetEnvAttr command sets an attribute that governs the different aspects of environments.
attribute is the environment attribute to set and can be one of the following values:
| Constant | Description | 
| SQL_ATTR_CONNECTION_POOLING | Enables or disables connection pooling at the environment level | 
| SQL_ATTR_CP_MATCH | Determines how a connection is chosen from a connection pool | 
| SQL_ATTR_ODBC_VERSION | Determines whether certain functionality exhibits ODBC 2.x behavior or ODBC 3.x behavior | 
| SQL_ATTR_OUTPUT_NTS | Determines how the driver returns string data | 
value is a Longint value at which to set attribute.
For more information, please see the SQLSetEnvAttr function in the MS ODBC API Reference at http://msdn.microsoft.com/en-us/library/ms709285(VS.85).aspx.
SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, or SQL_INVALID_HANDLE.
See the example for the ODBC_SQLGetEnvAttr command.
	Produit :  4D
	Thème :  ODBC_Driver attributes
	Numéro :  
        16980
        
        
        
	Nom intl. :  ODBC_SQLSetEnvAttr
	Créé :  4D ODBC Pro 2004
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	4D ODBC Pro ( 4D v18)
	
	
 Ajouter un commentaire
Ajouter un commentaire