skip to main content
DataDirect Connect Drivers : Sybase Driver : Connection Properties : UseAlternateProductInfo
  
UseAlternateProductInfo
Purpose
Determines if the driver will perform additional processing to return more accurate information for the DatabaseMetaData.getDatabaseProductName() and DatabaseMetaData.getDatabaseProductVersion() methods.
Valid Values
true | false
Behavior
If set to true, the driver makes an additional query to select the value of @@version and returns only the product name information from the string it receives when getDatabaseProductName() is called. When getDatabaseProductVersion() is called, the entire string is returned. For example:
Adaptive Server Enterprise/12.5.1/EBF 11428/P/NT (1X86)/OS 4.0/ase1251/
1823/32-bit/OPT/Wed Sep 17 11:10:54 2003
If set to false, the driver returns the information that it receives from the server during the login process. Previous versions of the driver returned this information.
Default
false
Data Type
boolean