Viewing 15 posts - 2,791 through 2,805 (of 5,841 total)
Todd Young-359443 (10/15/2012)
at UDF that does not access any database table and is used more...
October 16, 2012 at 7:24 am
If the delete is CAUSING blocking (are you using sp_whoisactive to watch what is going on?), I would look at the following:
1) no index on what you are using for...
October 16, 2012 at 7:21 am
Sqlsavy (10/15/2012)
We've a small database (1 GB) and SQL 2005 server is clustered one. Now Business is forecasting that database will be accessed by million users by early...
October 16, 2012 at 7:17 am
Thanks. I don't have all of the details at the moment about what are the exact objects and type of locks that are blocking, I do see that ALTER INDEX...
October 4, 2012 at 2:28 pm
bteraberry (10/4/2012)
TheSQLGuru (10/4/2012)
2) Having a table per object type sold is unworkable - how many different types of objects does Amazon sell??
So if you're selling products you have to design...
October 4, 2012 at 2:18 pm
Lexa (10/4/2012)
TheSQLGuru (10/4/2012)
Also, what tool/mechanism did you use to determine that this sproc was...
October 4, 2012 at 10:17 am
>>Working with big tables in DM environments, it's almost always worth putting an index or two on temp tables. Anything over 10k rows and it's likely to make a measurable...
October 4, 2012 at 9:38 am
aaron.reese (10/3/2012)
October 4, 2012 at 8:03 am
Please show the code for the sproc. Does the sproc reference any UDFs by any chance?
Also, what tool/mechanism did you use to determine that this sproc was doing the...
October 4, 2012 at 7:50 am
1) What is the point of this (isn't PRIMARY KEY sufficient by itself and the UNIQUE redundant?):
PRIMARY KEY (ID),
UNIQUE (ID))
2) I can probably count on 2...
October 4, 2012 at 7:47 am
Beware shrinking tempdb: http://support.microsoft.com/kb/307487
October 3, 2012 at 8:16 am
Maddave (10/3/2012)
October 3, 2012 at 8:10 am
terry999 (10/2/2012)
Thanks JasonI had made that change.
From now on I will use MERGE to replace Triggers for audit - all in one place.
Note that this places the onus on...
October 3, 2012 at 8:07 am
haiao2000 (10/2/2012)
TheSQLGuru (10/2/2012)
I am seriously missing something:SELECT CAST(5 AS VARBINARY(128)) --0x00000005
SELECT CAST(0x00000005 AS bigint) --5
SELECT dbo.ConvertBigIntToVarBinary1(5) --0x010001
SELECT CAST(0x010001 AS bigint) --65537
NAH! you aren't missing anything. it was just our requirements...
October 2, 2012 at 1:26 pm
bteraberry (10/2/2012)
October 2, 2012 at 1:00 pm
Viewing 15 posts - 2,791 through 2,805 (of 5,841 total)