Subject Re: [IBO] can IBObjects help with identifying where an IB script fails ?
Author Jason Wharton
Mark,

> 1) does this mean that i would be writing a delphi app that used the
> TIB_Script object to execute the SQL?

Yes, you would do something like this:

MyScript.SQL.LoadFromFile( AFileName );
MyScript.Execute;

> 2) would using the TIB_Script object/component inside of Delphi be faster
> than running the script in the native ISQL or WISQL utility?

If it isn't faster its going to be as close as it gets.

> 3) are there any other advantages to using the TIB_Script object besides
the
> 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 be
> faster than say - me parsing the SQL statements from the script file and
> firing them myself by way of a TQuery?

Unless you think you can do a better job, I doubt it. There is a lot to
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