public class DB2Script : Devart.Common.DbScript, System.ComponentModel.IComponent, System.IDisposable
'Declaration Public Class DB2Script Inherits Devart.Common.DbScript Implements System.ComponentModel.IComponent, System.IDisposable
Often it is necessary to execute several SQL statements one by one. It can be performed by using a lot of components such as DB2Command. Usually it isn't a good solution. With only one DB2Script component you can execute several SQL statements as one. This sequence of statements is named script. To separate individual statements use semicolon (;) symbol.
When DB2Script encounters a BEGIN keyword in the script, it looks for a slash symbol "/" in the first position of some consecutive line. Everything between the BEGIN and the slash is considered single block. Usually the slash is placed after the line containing END keyword. You do not have to place slash after nested BEGIN...END block.
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Devart.Common.DbScript
Devart.Data.DB2.DB2Script