Quantcast
Channel: Indigo Rose Software Forums - Forums
Viewing all articles
Browse latest Browse all 2105

ODBC Plugin Execute SQL Script

$
0
0
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);
Attached Files

Viewing all articles
Browse latest Browse all 2105

Trending Articles