This class can be used to execute SQL scripts on a database. It takes a SQL script, parsers out the GO's and executes each batch remembering the correct line numbers.
Namespace: CodeSmith.BaseTemplatesAssembly: CodeSmith.BaseTemplates (in CodeSmith.BaseTemplates.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
public class ScriptUtility |
Visual Basic |
---|
Public Class ScriptUtility |