Stephane,
Try
lnResult = SQLEXEC(lnConn, FILETOSTR(lcSqlScriptFile))
>
>How can I execute SQL Scripts since VFP and through ODBC with the script file in local (on the pc, not on sql server).
>But with no additional tools (nor SQL-DMO, neither isql.exe, etc..). Only an ODBC driver installed.
>
--sb--