Viewing 15 posts - 17,836 through 17,850 (of 18,926 total)
That'd be a good plan.... make 'em do the work for you... then show 'em why it wasn't a good idea to start with... then they would stop ignoring your...
May 11, 2005 at 11:27 am
k.. then you're on your way... Good luck with this project.
May 11, 2005 at 11:20 am
Well why r they asking you to merge the tables??
Are they asking you to take an apple and an orange table to make a fruits table. Or to take...
May 11, 2005 at 8:45 am
Unless you are calling extremely complexe stored procs from within that 2nd cursor, I don't see why you could just make a series of inserts/deletes/udpates. Can we hear a...
May 11, 2005 at 8:39 am
Ya Select top 25 PERCENT * from dbo.YourTable order by Newid()... Would be even faster than everything else we suggested. Th eonly problem is that the 25% couldn't easily...
May 11, 2005 at 8:38 am
Wow... must be some kick ass server you got there.
Thanx for the timing.
May 11, 2005 at 8:08 am
Hey Frank I'll have to tatoo those D@mn unequal joins someday because I never think about using them... Fortunately for me, this time the subquery runs about 3 times faster...
May 11, 2005 at 7:58 am
Also keep in mind that this query uses the the clustered index for the order by (implied), you might have to tweak the indexes or the query to achieve the...
May 11, 2005 at 7:34 am
I didn't test it but since there's no create table / insert then I assume it's gonna be faster... But then again 1000 rows is not that mayny.
May 11, 2005 at 7:30 am
Same logic applied without using a temp table :
--whole table
Select id, name from dbo.SysObjects O1 order by id
--1st, 5th rows....
Select id, name from dbo.SysObjects O1 where (Select count(*) from...
May 11, 2005 at 7:11 am
I'll repeat what Allen, SA23 and Tony have already said. The problem is not sql server, it can handle 600 000 transactions / minute if the server is strong...
May 11, 2005 at 6:50 am
Can you post it here so that others can benefit from your efforts?
May 11, 2005 at 6:45 am
Yes, don't use a cursor...
What r u trying to accomplish in this task?.. maybe there's a set based solution for your problem.
May 11, 2005 at 6:39 am
This is the statement generated by EM
ALTER TABLE dbo.AVT_FACTMA_Impayees ADD CONSTRAINT
FK_AVT_FACTMA_Impayees_AVT_FACTMA FOREIGN KEY
(
FFNOFACT_INT
) REFERENCES dbo.AVT_FACTMA
(
FFNOFACT_INT
) ON UPDATE CASCADE
May 10, 2005 at 1:22 pm
Viewing 15 posts - 17,836 through 17,850 (of 18,926 total)