Viewing 15 posts - 51,196 through 51,210 (of 59,098 total)
Nuh uh... some of us recommend BULK INSERT... BCP would require a trip to the operating system, possibly via xp_CmdShell... that's why I recommended BULK INSERT. I didn't recommend...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 10, 2008 at 6:04 am
jezemine (4/10/2008)
Jeff Moden (4/9/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
April 10, 2008 at 6:00 am
Dumber and dumber is right... they should have left it alone... 2k had a fine optimizer... well, the idiocy started at SP4 which is why I still run sp3a on...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2008 at 7:44 pm
Gail (4/9/2008)
here is my query the field is a comment field commentsmc
You're trying to group on a comment field? :blink: As I've asked a couple of times now,...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2008 at 7:40 pm
Steve's suggestion is good, but use NVARCHAR(MAX) instead... 3rd party either made the original column NTEXT for a reason or because they're stupid... you have to account for either eventuality....
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2008 at 10:12 am
And a sample of what's in the NTEXT column please... it's hard for me to imagine why you'd want to group on something that can be 4000 bytes long...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2008 at 9:47 am
Grant Fritchey (4/9/2008)
But the constant updates from a single spid that is always connected won't act like a transaction & hold that lock open? Just asking, not arguing.
Nope... not if...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2008 at 8:46 am
One other thing that has been covered on previous such posts to a very great extent. Never lie and never stretch the truth on an interview... heh, and pass...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2008 at 8:36 am
Nicely done, Peter!
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2008 at 8:34 am
Absolutely not a problem, Andras... thanks for double checking.
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2008 at 8:26 am
Andras Belokosztolszki (4/9/2008)
souLTower (4/9/2008)
If I use checksum() in SQL2000 will I get the same results in 2005 and later versions.EX:
select checksum('abcdefg') -- yields -2039903324
Thanks
ST
No, you will not.
Regards,
...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2008 at 7:25 am
Heh... my very first question is "How do you get the current date and time using a query". Believe it or not, about 1/4 of the candidates that apply...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2008 at 7:23 am
Heh... nice job there "Joel" 😛
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2008 at 7:11 am
Why can't you just create a linked server to that server and query the Master database on it for all the database names? That way you don't have to...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2008 at 7:08 am
karthikeyan (4/8/2008)
yes you are correct,we can seperate it in the DTS itself.But i want to do this with sql query.
Karthik... all of the columns in your file are comma...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2008 at 7:04 am
Viewing 15 posts - 51,196 through 51,210 (of 59,098 total)