Viewing 15 posts - 136 through 150 (of 469 total)
saly1 (4/4/2012)
I want to verify that our SQL Server 2005 SP2...
Any particular reason you're running SP2? It's been out of support for a while now so you should be...
April 4, 2012 at 1:44 pm
Any particular reason you're not considering doing a backup and restore? Even with large DBs you can fairly quickly get up to current point in time by doing something...
April 4, 2012 at 1:35 pm
The SSMS Tools Pack can do that:
It can also save queries that you've run and windows you have open which can be very handy.
April 4, 2012 at 10:34 am
Your best bet is to talk to the DBA that maintains SQL on that server. While there is a default port you don't need to specify the port if...
April 4, 2012 at 10:28 am
There are a few different reasons to use stored procs. Plan reuse is one of them. Particularly on more complex queries the fact that it doesn't need to...
April 4, 2012 at 10:11 am
You could also do an existence check on sys.objects for the table name or check that object_id('tablename') isn't NULL.
April 4, 2012 at 9:02 am
For Windows updates, the application owners can either take the automated off-hours reboot when the update goes out or plan it themselves around the users schedule (which they do is...
March 23, 2012 at 9:27 am
vliet (3/7/2012)
Isn't setting ROWCOUNT also a valid option to limit the number of rows affected by a DELETE statement? Or am I missing something here?
See the first "Important" note in...
March 7, 2012 at 6:22 am
I haven't played with the lock_escalation setting but I would use it with care. It's possible for lock escalation to be triggered due to memory thresholds and if there...
March 6, 2012 at 11:19 am
TheSQLGuru (3/6/2012)
March 6, 2012 at 10:38 am
TheSQLGuru (3/6/2012)
March 6, 2012 at 9:32 am
jberg-604007 (3/6/2012)
can't index a table variable
But you can declare a primary key which does have an effect on how the query is processed.
March 6, 2012 at 8:51 am
ChrisTaylor (3/6/2012)
Your statement is incorrect - if you have a reference that says otherwise please provide it.
In this particular case a table variable will likely be best, because...
March 6, 2012 at 8:49 am
TheSQLGuru (3/6/2012)
March 6, 2012 at 8:05 am
The thing I'm most looking forward to with contained DBs is mirroring. I'm worried that we'll hit a failover and a SQL job will have been updated on one...
March 2, 2012 at 8:37 am
Viewing 15 posts - 136 through 150 (of 469 total)