dotConnect for Oracle Documentation
Devart.Common Namespace / DbScript Class / Open Method / Open(String) Method
Name of file to open.

In This Topic
Open(String) Method
In This Topic
Prepares a file stream to be executed as SQL script.
Syntax
'Declaration
 
Public Overloads Sub Open( _
   ByVal fileName As String _
) 
 

Parameters

fileName
Name of file to open.
Remarks

Call to this method makes consequent invocation of Execute read SQL script from specified file.

This Open(String) method, as well as its overloads, does not load the text into memory or populate the Statements collection. So it is much more efficient to use Open(String) methods from performance and memory consumption points of view.

See Also