Contents Index free_sqlda_noind function sqlda_storage function

ASA Programming Guide
  Embedded SQL Programming
    Library function reference

sql_needs_quotes function


Prototype 

unsigned int sql_needs_quotes( SQLCA *sqlca, char *str );

Description 

Returns a Boolean value that indicates whether the string requires double quotes around it when it is used as a SQL identifier. This function formulates a request to the database server to determine if quotes are needed. Relevant information is stored in the sqlcode field.

There are three cases of return value/code combinations:


Contents Index free_sqlda_noind function sqlda_storage function