Is it possible to execute a sql script using the ODBC Plugin? I need to execute the script to create the database and tables at the SQL Server. I know I could execute the script by calling sqlcmd or writing a c# app that could be called to create it, but I would like to avoid this if possible. Attached is the script file.
local strScript = TextFile.ReadToString(strScriptFile);
resultset = ODBC.ExecuteDirect(strScript, 1);
local strScript = TextFile.ReadToString(strScriptFile);
resultset = ODBC.ExecuteDirect(strScript, 1);