Viewing 15 posts - 36,136 through 36,150 (of 59,099 total)
Craig Farrell (11/3/2010)
It manipulates DATEFIRST and you might botch something up on your real servers if you run it.
Setting DATEFIRST in a query only affects the session, not the entire...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 4, 2010 at 6:59 pm
SQL33 (11/4/2010)
--Jeff Moden
Change is inevitable... Change for the better is not.
November 4, 2010 at 6:55 pm
viky2010 (10/29/2010)
ssis
That's nasty and very bad ettiquette. Why did you delete your original post?
--Jeff Moden
Change is inevitable... Change for the better is not.
November 4, 2010 at 6:46 pm
RPSql (11/3/2010)
An error occurred while executing batch. Error message is: Exception of type 'System.OutOfMemoryException'...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 4, 2010 at 6:45 pm
gwilkins-1074841 (11/4/2010)
--Jeff Moden
Change is inevitable... Change for the better is not.
November 4, 2010 at 6:41 pm
vijay82 (10/16/2010)
HOW to check the long running queries or sp?.what are the steps should i follow to solve thelong running quires?
What position are you applying for?
--Jeff Moden
Change is inevitable... Change for the better is not.
November 3, 2010 at 8:16 pm
Also remember that returning 20 lakh (2 million rows) is going to take a while even if it's a straight select. If you're returning that many rows to the...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 3, 2010 at 7:53 pm
vinayak_mohan (10/20/2010)
We have a normal select query on a table which takes around 16 mins to execute. The table has 30 lakh records and the query returns almost 20...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 3, 2010 at 7:50 pm
ChrisM@home (10/27/2010)
Here's a handy reference for you:
http://msdn.microsoft.com/en-us/library/ms187489.aspx
Which would make your code much more compact for the next step:
---------------------- Albania POSTCODE VALIDATION ----------------
ELSE IF @COUNTRY = 'Albania'
set @Result=(SUBSTRING(@ADDRESSLINE, nullif(patindex('%...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 3, 2010 at 7:35 pm
Rambler (10/27/2010)
I have created a table which is a result of DBCC SQLPERF(logspace), so it contains DB names, log...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 3, 2010 at 7:31 pm
[edit] Bad post.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 3, 2010 at 7:20 pm
ss-457805 (10/24/2010)
Thanks, but I know it's done via DBCC SHRINKFILE, but I have very little knowledge of T-SQL, so that's why I was asking for the code. For someone knowledgeable,...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 3, 2010 at 7:17 pm
Never mind... can't wait for an answer. Here's 95% of the solution. All you have to do is figure out how you actually want to format the 0-255...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 3, 2010 at 7:12 pm
Here's the hard part... what do you want to display for the value aA¦
--Jeff Moden
Change is inevitable... Change for the better is not.
November 3, 2010 at 6:45 pm
SQL Dummy-659258 (10/27/2010)
the ascii function stops at 127.
Actually, it doesn't. You just can't pass the ASCII function more than one character at a time.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 3, 2010 at 6:13 pm
Viewing 15 posts - 36,136 through 36,150 (of 59,099 total)