Script functions reference > Script functions in alphabetical order > O > OdbcExecuteEx

OdbcExecuteEx
Syntax
OdbcExecuteEx(str_dbidentifier, str_sql_statement, num);
str_dbidentifier 
str_sql_statement
num
If num = 0, StreamServer will not stop if a CREATE TABLE statement fails.
If num is not = 0, this function works as OdbcExecute.
Description
Same as OdbcExecute. The difference is that this function can be configured to accept that a CREATE TABLE statement fails.
For example, if you use the OdbcExecute function to create a table that already exists, an error will be received, and the StreamServer will stop. If you use the OdbcExecuteEx statement instead, and set num = 0, the received error will be ignored and the StreamServer will not stop.
OpenText StreamServe 5.6 Updated: 2013-03-01