Viewing 15 posts - 14,476 through 14,490 (of 18,923 total)
Just make sure that the date is kept is numerical order in the db, and that you send the parameters in numerical order. Unless the order is relevant to...
August 12, 2005 at 7:14 am
Sorry for the delay :
DECLARE @demo table (RowID int not null identity (1,1) primary key clustered, name varchar(10) not null)
Insert into @demo (Name)
Select 'cats'
UNION ALL
Select 'dogs'
UNION ALL
Select 'birds'
UNION ALL
Select...
August 12, 2005 at 7:11 am
There's still the question of why you think you need dynamic sql here...
August 12, 2005 at 7:03 am
I just tried to create it and it popped the errors. You can do that in enterprise manager or in query analyser. Also you need to finish the...
August 12, 2005 at 7:02 am
I'm not sure this is what you need but let's see :
CREATE PROCEDURE dbo.test (@ID int,@1 smallint,@2 smallint,@3 smallint,@4 smallint,@5 smallint, @MystNumber int, @Match bit output, @Mystery bit output)...
August 12, 2005 at 6:59 am
Sorry... no clue how to solve that problem. Can you give an exemple of the code that makes it fail?
August 11, 2005 at 10:09 pm
Open query analaser, connect to server, expand the db in the objects browswer, expand the sps, right click, debug. then you'll have to input the parameters of the proc,...
August 11, 2005 at 10:08 pm
Just go to the linked server and do the insert from there... It's gonna be faster that way... and won't take a loop.
August 11, 2005 at 6:03 pm
Time for some more constructive comments... Can you clean up the data before it's too late?
August 11, 2005 at 5:54 pm
Is tempdb full?
Are the db files set to a fixed size?
August 11, 2005 at 5:25 pm
Yup
.
And I just thaught of a few more :
How many relations do you have on that tables?
Do you have insert triggers?
Do...
August 11, 2005 at 5:24 pm
I'm gonna go on a limb here and assume that there's more to the script. Can we know why you think you need dynamic sql here?
Cause if that's all...
August 11, 2005 at 5:19 pm
You can either use a stored proc to do the delete from the main form (and manually delete from all 4 tables). Or you can use on delete cascade...
August 11, 2005 at 5:13 pm
No offense but inserting only 35k records shouldn't take long. How large is the table?
How many indexes are there on the table?
What's the Primary/key, clustered index?
How long does it...
August 11, 2005 at 5:10 pm
Viewing 15 posts - 14,476 through 14,490 (of 18,923 total)