dbTalk Databases Forums  

Problem executing SqlTalk script (Windows)

comp.databases.gupta comp.databases.gupta


Discuss Problem executing SqlTalk script (Windows) in the comp.databases.gupta forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ingmar Grosch
 
Posts: n/a

Default Problem executing SqlTalk script (Windows) - 01-30-2004 , 04:25 AM






Hi,

am not familiar with Gupta and try to execute an SQL script. The
problem is that SQL-Talk only executes the last command in my script
and ignores everything else. What am I doing wrong ?

Thanks, Ingmar

Reply With Quote
  #2  
Old   
Niels Allerheiligen
 
Posts: n/a

Default Re: Problem executing SqlTalk script (Windows) - 01-30-2004 , 04:49 AM






Hi Ingmar.

Ingmar Grosch wrote:

Quote:
am not familiar with Gupta and try to execute an SQL script. The
problem is that SQL-Talk only executes the last command in my script
and ignores everything else. What am I doing wrong ?
What does your script look like? If it is like the following example,
there shouldn't be any problems.

Example:

connect database;
select * from systables order by name;
disconnect all;

Make sure that the cursor is on the first line. Press F5. All three
lines should be executed.

HTH

-Niels-


Reply With Quote
  #3  
Old   
Ingmar Grosch
 
Posts: n/a

Default Re: Problem executing SqlTalk script (Windows) - 02-15-2004 , 06:55 AM



Hi Niels,

thanks a lot for Your answer. Was ill, so It took me some time to
reply.
My problem seems to be that I need to have several select statements
and so cursors (?).

Regards, ingmar

Niels Allerheiligen <NAllerheiligen (AT) genese (DOT) de> wrote

Quote:
Hi Ingmar.

Ingmar Grosch wrote:

am not familiar with Gupta and try to execute an SQL script. The
problem is that SQL-Talk only executes the last command in my script
and ignores everything else. What am I doing wrong ?

What does your script look like? If it is like the following example,
there shouldn't be any problems.

Example:

connect database;
select * from systables order by name;
disconnect all;

Make sure that the cursor is on the first line. Press F5. All three
lines should be executed.

HTH

-Niels-

Reply With Quote
  #4  
Old   
Niels Allerheiligen
 
Posts: n/a

Default Re: Problem executing SqlTalk script (Windows) - 02-17-2004 , 04:43 AM



Hi again.

Ingmar Grosch wrote:
Quote:
My problem seems to be that I need to have several select statements
and so cursors (?).
What exactly are you trying to do?
Why would you need several cursors?
Can you post an example?

-Niels-


PS: Kannst mir auch ne Mail schreiben, dann fällt die Sprachbarriere weg



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.