dbTalk Databases Forums  

RE: Multiple SQL statements in one 'execute sql task'

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss RE: Multiple SQL statements in one 'execute sql task' in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Miguel Salles
 
Posts: n/a

Default RE: Multiple SQL statements in one 'execute sql task' - 09-21-2004 , 02:51 PM






Try using:
PACK Firms
go
PACK Members
go

Hope it works

Miguel Salles

"Jean Paul" wrote:

Quote:
I am using DTS to export sql data to .dbf files

for the connection to the .dbf files I use Microsoft OLE DB provider for
Visual Foxpro

Before i export the data i want to empty the dbf files for that I create a
'execute sql task' with several statements.

ex.
PACK Firms;
PACK Members;
go;

When i launch this is is only the first sql statement that is executed.

What is wrong?



Reply With Quote
  #2  
Old   
Jean Paul Gevaert
 
Posts: n/a

Default RE: Multiple SQL statements in one 'execute sql task' - 09-22-2004 , 01:59 AM






I did that already. I also tried
Quote:
PACK FIRMS; PACK Members; GO
but it stays the same. Or I have an error for not accepting the sql
statement, or I have successful. But then it is only the first statement that
is executed.

It is not the pack that gives the problem I also have it wit other sql
statements (delete..,)

Jean Paul


"Miguel Salles" wrote:

Quote:
Try using:
PACK Firms
go
PACK Members
go

Hope it works

Miguel Salles

"Jean Paul" wrote:

I am using DTS to export sql data to .dbf files

for the connection to the .dbf files I use Microsoft OLE DB provider for
Visual Foxpro

Before i export the data i want to empty the dbf files for that I create a
'execute sql task' with several statements.

ex.
PACK Firms;
PACK Members;
go;

When i launch this is is only the first sql statement that is executed.

What is wrong?



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.