Subject | Re: [IBO] can IBObjects help with identifying where an IB script fails ? |
---|---|
Author | Jason Wharton |
Post date | 2001-10-25T17:15:34Z |
Mark,
MyScript.SQL.LoadFromFile( AFileName );
MyScript.Execute;
read about it in the help file.
parsing out statements and I believe I have done an excellent job making
sure things work well and that they perform.
Regards,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
> 1) does this mean that i would be writing a delphi app that used theYes, you would do something like this:
> TIB_Script object to execute the SQL?
MyScript.SQL.LoadFromFile( AFileName );
MyScript.Execute;
> 2) would using the TIB_Script object/component inside of Delphi be fasterIf it isn't faster its going to be as close as it gets.
> than running the script in the native ISQL or WISQL utility?
> 3) are there any other advantages to using the TIB_Script object besidesthe
> logging facility?Yes, there are some additional features you can take advantage of. Please
read about it in the help file.
> 4) would using the TIB_Script object/component inside of a delphi app beUnless you think you can do a better job, I doubt it. There is a lot to
> faster than say - me parsing the SQL statements from the script file and
> firing them myself by way of a TQuery?
parsing out statements and I believe I have done an excellent job making
sure things work well and that they perform.
Regards,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com