Viewing 15 posts - 36,136 through 36,150 (of 59,102 total)
karthikeyan-444867 (11/2/2010)
All,will UDF in an UPDATE statement affect the performance? I hope so.
UPDATE #Result
SET DataSourceID = dbo.fnGetAsset(AssetID, AssetType_Code)
Assume #Result table has 400000 records.
Innputs are welcome!
Karthik... you and I go a...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 4, 2010 at 7:27 pm
Jeff Moden (11/4/2010)
Randy Doub (11/4/2010)
I think using an Agent Job is a great idea since the account that runs my Agent already has xp_cmdshell privileges.[/quote-0]
Correct. Create a job with...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 4, 2010 at 7:24 pm
Randy Doub (11/4/2010)
--Jeff Moden
Change is inevitable... Change for the better is not.
November 4, 2010 at 7:23 pm
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
Viewing 15 posts - 36,136 through 36,150 (of 59,102 total)