Viewing 15 posts - 5,911 through 5,925 (of 7,185 total)
INFORMATION_SCHEMA is an ANSI standard, so it should work on most RDBMSes, although I've never tried it on other vendors' platforms. It certainly works on SQL 2000 and 2005.
John
May 15, 2008 at 8:54 am
Was there a transaction running at the time you tried shrinking? What was the original size of the log file (ie when you created the database)?
John
May 15, 2008 at 6:37 am
Only shrink your log file if you're sure it's never going to grow to its current size again. Otherwise you waste processor and disk resources when it re-grows and...
May 15, 2008 at 5:40 am
Darryl Sibson (5/14/2008)
May 14, 2008 at 8:48 am
I do not quite follow you why you need both differential and transactional backups.
Doing differential backups will reduce the number of backups to be restored from and make it...
May 13, 2008 at 1:59 am
OleHank (5/12/2008)
Using LIKE without a wildcard, doesn't that just make it the same as '=' when comparing strings?
Yes, it does. If you're looking for values that start with "LONDON",...
May 13, 2008 at 1:43 am
If you don't use brackets (parentheses), the conditions will be evaluated in the order they appear. So WHERE condition1 AND condition2 OR condition3 OR condition4 is the same as WHERE...
May 12, 2008 at 9:26 am
Might be an idea to recycle your errorlog every week or so to prevent it from growing very large. But I agree with the others - don't restart SQL...
May 12, 2008 at 9:23 am
MD (5/12/2008)
May 12, 2008 at 9:19 am
But be careful if your INSERT..SELECT..UNION ALL... statement is very big or your transaction log is very small.
John
May 8, 2008 at 7:35 am
Please post your code.
Thanks
John
May 8, 2008 at 7:23 am
I think a better way would be to store the results of sp_helpsrvrolemember into a temp table, then LEFT JOIN syslogins to that so that you also get logins that...
May 8, 2008 at 6:50 am
OK, hopefully this should get you started. Please post again if there's anything you don't understand.
You can use ROW_NUMBER or RANK (read about both of them and decide which...
May 8, 2008 at 6:42 am
You're going to have to try harder than that if you want any of us to be able to help you. Please show us what you tried, and state...
May 8, 2008 at 3:56 am
Viewing 15 posts - 5,911 through 5,925 (of 7,185 total)