Viewing 15 posts - 46,021 through 46,035 (of 59,062 total)
You'll like this... takes just seconds to run on a half million rows... of course, you'll need to change #YourTable to your actual table name. For future...
January 8, 2009 at 9:06 pm
gvsriramakrishna (1/8/2009)
480002 rows
I'll be right back...
January 8, 2009 at 8:46 pm
SQLMAIN (1/8/2009)
May be a minute or so.
That would be about right for 15M rows.
Just a bit of caution, though... make sure you follow ALL the instructions in the article. ...
January 8, 2009 at 8:25 pm
On the flip side, you can get the machine name and maybe go from there...
SELECT HOST_NAME()
January 8, 2009 at 8:21 pm
I can't help getting the feeling that was homework and the OP didn't try.
January 8, 2009 at 8:17 pm
Micheal Young (1/8/2009)
1. If there are queries that use...
January 8, 2009 at 8:06 pm
Why not just map a drive on each server and use the same drive letter on each server?
January 8, 2009 at 7:39 pm
roy vagner (1/8/2009)
what is better for performance?
Leave the table like that or divide it for 2 or 3...
January 8, 2009 at 6:58 pm
Either of the following will meet your requirements... ๐
SELECT MIN(RowNum)+1
FROM dbo.JbmTest
WHERE RowNum+1 NOT IN (SELECT RowNum FROM dbo.JbmTest)
SELECT MIN(RowNum)+1
FROM dbo.JbmTest...
January 8, 2009 at 6:51 pm
gvsriramakrishna (1/7/2009)
Seems the query is taking a while to execute. I tried it for 20minutes.. not have seen any output.
Does this have any performance dependancy on the size of...
January 8, 2009 at 6:25 pm
Chris Morris (1/8/2009)
January 8, 2009 at 6:24 pm
Fรกbio (1/8/2009)
Thank you also Jeff, how could I not think about referencing the table twice :blink:
You were probably thinking about alligators, instead... ๐
January 8, 2009 at 11:35 am
eddy (1/8/2009)
January 8, 2009 at 6:36 am
You'll obviously need to reference table 2 more than once as if it were a separate table for User1 and User2 in table 1. To do that, just do...
January 8, 2009 at 6:17 am
eddy (1/8/2009)
Tnx this seems to work for the example,
Now i going to try to implement this with an update statement
my original temptable has this structure and i foresee...
January 8, 2009 at 6:14 am
Viewing 15 posts - 46,021 through 46,035 (of 59,062 total)