SqlUtilCreateFileFromMemory - cDbUpdateFunctionLibrary

Writes an SQL script file that was embedded into the program by the SQLIncludeScriptFile command.

Type: Function

Parameters: String sStmt String sDriverID


Parameter

Description

sMemFileName

The name of the resource name used with the SQLIncludeScriptFile command.

sFileName

The name of the file including full path to be created.



Syntax


Procedure SQLUtilCreateFileFromMemory String sMemFileName String sFileName

Call:

Send SQLUtilCreateFileFromMemory sMemFileName sFileName



Description

Reads a resource that has been embedded by the compiler with the SQLIncludeScriptFile command and writes it to disk. Pass the memory resource file reference and the filename to be created, including full path.