Viewing 15 posts - 49,066 through 49,080 (of 59,093 total)
How did you verify that? Is it just because you got a rows affected of 1? Perhaps there was only one row that met the condition?
What do you...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 25, 2008 at 4:46 am
Deee -Daah! (7/24/2008)
I was wondering if there is an alternative to running XP_cmdshell DIR.
Basically, I run xp_cmdshell to gather file info on a folder.
without using XP_cmdshell, is there other...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 25, 2008 at 4:31 am
su_kumar11 (7/25/2008)
The site you have given is not opening. SoSo
Please give me solution.
Try copying the URL and pasting it to the address window in your browser.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 25, 2008 at 4:15 am
Untested, of course... 😉
DELETE dbo.abn_extract
FROM dbo.abn_extract E
INNER JOIN dbo.ABN_File_Header H
ON SUBSTRING(E.[Column 0], 1, 13) = H.Header_Id
SQL Server is one of the...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 25, 2008 at 4:06 am
avanish (7/24/2008)
Rather than writing comples queries .... yo u can use the ranking functions... in sql server 2005 for this purpose:)
Perfect... got a code example to go along with that...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 25, 2008 at 3:51 am
Just double checking... Was the mirror made using SQL Server Replication or (disk) hardware replication.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 24, 2008 at 5:42 pm
Gary Noter (7/24/2008)
No, wait, if I implement this code, then can't waste my time with writing and waiting for WHILE loops...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 24, 2008 at 5:40 pm
I've found that nothing helps except a good ol' fashioned technical interview. I've had several people where references checked out great... old bosses gave rave reviews... former co-workers gave...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 24, 2008 at 5:37 pm
Thanks for the feedback, Hugo,
I explained why a merry-go-round scan is not possible for this in the article. I even demonstrated what a merry-go-round scan is... updates don't do...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 24, 2008 at 5:30 pm
Cool... thanks for the feedback, Lynn. And, glad it all work.
Michael, nice job if you don't mind me saying so. 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
July 24, 2008 at 5:15 pm
ALIF (7/24/2008)
either use this thingsshrink tempdb,
or
detach the file and attach with a new one with 0 bytes
or still you cant do
just restart the sql services, everything will be refreshed.
Shrinking...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 24, 2008 at 5:13 pm
GilaMonster (7/24/2008)
angie stein (7/24/2008)
Brandie Tarvin (7/24/2008)
Does this technobabble make sense?
Ok, so it sounds like you should usually restrict the growth (esp. in prod), unless there's a good reason to do...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 24, 2008 at 5:04 pm
nisan.al (7/24/2008)
But by the way, tempdb doesn't have to be in the same drive as the operation system you can change...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 24, 2008 at 6:08 am
Thanks for taking the time for that feedback, Hugo. I appreciate it.
Running totals are no excuse for using cursors... not even for display.
http://www.sqlservercentral.com/articles/Advanced+Querying/61716/
So far as the "bin packing" thing...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 24, 2008 at 6:05 am
or because you run into one of the very rare problems where a cursor actually runs faster than a set-based solution
Hi Hugo,
Do you have an example of when that might...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 24, 2008 at 5:25 am
Viewing 15 posts - 49,066 through 49,080 (of 59,093 total)