Viewing 15 posts - 24,451 through 24,465 (of 26,484 total)
charles.frank (7/11/2008)
July 11, 2008 at 10:36 am
mailsar (7/11/2008)
I have a Question,
Is 1 better or 2 better(Join).
1.
FROM Product, ProductType
WHERE ProductType.ProductTypeID = @ProductTypeID AND
...
July 11, 2008 at 10:17 am
CTE's alone won't eliminate your cursors. You have to totally relook at the process from set based view instead of a row by row view as is done with...
July 11, 2008 at 10:10 am
rbarryyoung (7/11/2008)
Missing: sample data for the tables (in the form of INSERT statements that can be cut, paste, and run in SSMS to load the tables).
still not seeing it.
You noticed,...
July 11, 2008 at 6:29 am
john.richter (7/10/2008)
...--witness the gentleman above who has yet to be introduced to upper case. I've noticed my own growing propensity to skip words and drop vowels. ...
Could be...
July 10, 2008 at 3:45 pm
What we have: current code, table DDL, sample output.
Missing: sample data for the tables (in the form of INSERT statements that can be cut, paste, and run in SSMS to...
July 10, 2008 at 3:36 pm
Although the WHILE loop eliminates the CURSOR, it doesn't eliminate the RBAR. You are still doing row by row processing.
In order to really help, we need additional information. ...
July 10, 2008 at 1:26 pm
Marty Benson (7/9/2008)
I always just use "JOIN" without the "INNER" and I was...
July 9, 2008 at 4:06 pm
Also, you can't use a variable in a select statement for a tablename, unless the variable itself is a table variable (confused?).
What you are trying to do would require the...
July 9, 2008 at 12:04 pm
Betty Sun (7/9/2008)
I have a stored procedure. But it seems that you cannot use variable for a table. variables are only can be used in condition expression? What about...
July 9, 2008 at 11:50 am
Okay. Good to know. And yes, I still want to run the UPDATEUSAGE. It just really bothered me that I couldn't remember it.
Thanks!
😎
July 9, 2008 at 10:56 am
Oh, should I do that before or after DBCC UPDATEUSAGE? Couldn't remember the DBCC command so I started with updating the statistics.
😎
July 9, 2008 at 10:47 am
Mani Singh (7/9/2008)
1. Change the Compatiility Level to 90
2. DBCC UPDATEUSAGE
3. DBCC CHECKDB (DatabaseName)
4. Copy all the logins associated with the Database OR ALL using this...
July 9, 2008 at 10:36 am
Viewing 15 posts - 24,451 through 24,465 (of 26,484 total)