|
-
Dec 2nd, 2002, 11:47 AM
#1
Thread Starter
Hyperactive Member
Stored Procedure - SQL Server 7
Hi all,
Over the weekend I tried to write a stored procedure that included Select... Into, Alter Table, and Update statements.
I tried adding GO after each statement and that worked fine in the query analyzer. I tried copy and pasting the statements into the stored procedure and it only saves the first statement before the first GO.
Next I tried deleting the GO statements, but then the alter statements do not work.
Do I need to put the Alter Table and Update statements in separate stored procedures or is there any way around it?
Thanks,
JazzBass
JazzBass
In the .NET era
Trying to remember VB6
Progress: 
XP Professional @ Home
and @ the Office
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|