ExecSQL

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Commands Reference > Database >

ExecSQL

Description

Executes an SQL script file

Syntax

call DBWShell("ExecSQL sqlFile")

Parameters

sqlCmd

The full file name of a .sql file containing the command to be executed

Results

Check the value of the variable okDBW

TRUE

if succeded in executing the command

FALSE

otherwise

Remarks

The library function DBWExecSQL should be used instead. This command executes the specified sql command.