Subject | RE: [IBO] TIB_Script and multiline comments |
---|---|
Author | Jerry Sands |
Post date | 2008-09-10T15:07:38Z |
If it works in other tools it probably should work with IBO. Does it make a
difference if you use a "^" instead of a "/" for the term char?
Jerry Sands
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On Behalf
Of Falko
Sent: Wednesday, September 10, 2008 9:18 AM
To: IBObjects@yahoogroups.com
Subject: [IBO] TIB_Script and multiline comments
Hi,
i have problems with the TIB_Script component of IBO (V4.6a).
Executing the following script i get an error
script:
connect "localhost:d:\test.gdb" user "SYSDBA" password "masterke";
set term /;
create procedure test
returns( i integer)
as
/* this multiline
comment throws an
exception in TIB_Script
*/
begin
i=0;
/* do some other work btw: this comment is ok */
end;/
set term ;/
error message:
'ISC Fehlernummer:335544569
ISC Fehlermeldung:Dynamic SQL Error
SQL error code = -104
Unexpected end of command'
Executing this script in other db tools (e.g. ibexpert) works fine.
Has TIB_script problems with multiline comments?
is there a parameter to set to make it work?
regards
Falko Meinke
[Non-text portions of this message have been removed]
difference if you use a "^" instead of a "/" for the term char?
Jerry Sands
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On Behalf
Of Falko
Sent: Wednesday, September 10, 2008 9:18 AM
To: IBObjects@yahoogroups.com
Subject: [IBO] TIB_Script and multiline comments
Hi,
i have problems with the TIB_Script component of IBO (V4.6a).
Executing the following script i get an error
script:
connect "localhost:d:\test.gdb" user "SYSDBA" password "masterke";
set term /;
create procedure test
returns( i integer)
as
/* this multiline
comment throws an
exception in TIB_Script
*/
begin
i=0;
/* do some other work btw: this comment is ok */
end;/
set term ;/
error message:
'ISC Fehlernummer:335544569
ISC Fehlermeldung:Dynamic SQL Error
SQL error code = -104
Unexpected end of command'
Executing this script in other db tools (e.g. ibexpert) works fine.
Has TIB_script problems with multiline comments?
is there a parameter to set to make it work?
regards
Falko Meinke
[Non-text portions of this message have been removed]