According to SQL BOL, semicolon is required to separate statements. But I can issue the following using VFP8SP1 and ODBC:
csql = "select * from table1 " + ;
"select * from table2"
sqlexec(1, csql)
It works as long as there is a space to separate the statements.
I wonder whether this will only work for certan version of ODBC.
Thank you.
csql = "select * from table1 " + ;
"select * from table2"
sqlexec(1, csql)
It works as long as there is a space to separate the statements.
I wonder whether this will only work for certan version of ODBC.
Thank you.