ODAC

TDAScript.ExecuteFile Method

Executes SQL statements contained in a file.

Class

TDAScript

Syntax

procedure ExecuteFile(const FileName: string);

Parameters
FileName
Holds the file name.

Remarks

Call the ExecuteFile method to execute SQL statements contained in a file. Script doesn't load full content into memory. Reading and execution is performed by blocks of 64k size. Therefore, it is optimal to use it for big files.

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback