sqldata/sqldata.cpp
// Get SqlParser type from SqlData database type 
Get SqlParser type from SqlData database type
Get SqlParser type from SqlData database type
short SqlData::DefineSqlParserType(short type)
{
	short rt = 0;
	if(type == SQLDATA_SQL_SERVER)
		rt = SQL_SQL_SERVER;
	else
	if(type == SQLDATA_ORACLE)
		rt = SQL_ORACLE;
	else
	if(type == SQLDATA_DB2)
		rt = SQL_DB2;
	else
	if(type == SQLDATA_MYSQL)
		rt = SQL_MYSQL;
	else
	if(type == SQLDATA_POSTGRESQL)
		rt = SQL_POSTGRESQL;
	else
	if(type == SQLDATA_SYBASE)
		rt = SQL_SYBASE;
	else
	if(type == SQLDATA_INFORMIX)
		rt = SQL_INFORMIX;
	return rt;
}
short SqlData :: DefineSqlParserType ( short type ) { short rt = 0 ; if ( type == SQLDATA_SQL_SERVER ) rt = SQL_SQL_SERVER ; else if ( type == SQLDATA_ORACLE ) rt = SQL_ORACLE ; else if ( type == SQLDATA_DB2 ) rt = SQL_DB2 ; else if ( type == SQLDATA_MYSQL ) rt = SQL_MYSQL ; else if ( type == SQLDATA_POSTGRESQL ) rt = SQL_POSTGRESQL ; else if ( type == SQLDATA_SYBASE ) rt = SQL_SYBASE ; else if ( type == SQLDATA_INFORMIX ) rt = SQL_INFORMIX ; return rt ; }
Get SqlParser type from SqlData database type
Get SqlParser type from SqlData database type