Viewing 15 posts - 661 through 675 (of 1,315 total)
Use osql or sqlcmd and save the output to a file.
I haven't tried it, but possibly if you run osql or sqlcmd from xp_cmdshell with no output file command-line option,...
December 20, 2006 at 1:50 pm
You can get the error message for the last database backup with the query
SELECT
TOP 1 ErrorMessage
FROM [Litespeed reporting database]
December 20, 2006 at 1:10 pm
If you change the last line to "group by G.GroupCode WITH ROLLUP", you'll get an extra row with the grand total for Amount (and a NULL for GroupCode). Is...
December 20, 2006 at 12:45 pm
How about the ErrorMessage field of the LitespeedActivity table?
December 20, 2006 at 9:48 am
NOLOCK is like a chainsaw, it's very useful but also dangerous. I don't think I would put it on any list of standards or best practices if those recommendations would...
December 14, 2006 at 11:52 am
If join performance is a concern for a normalized design, there are a lot of things to check before going to a denormalized structure.
Do the indexes allow efficient joins? Does...
December 14, 2006 at 11:23 am
This will produce the queries to find all occurrences of 312564777 in int or bigint columns, or [n][var]char columns of length 9 or greater, in all user tables with only...
December 14, 2006 at 10:34 am
Reading the backup history is great, but it might not show you when backups failed. For that you need to look at the SQL Agent log. This is not a...
December 12, 2006 at 3:21 pm
The only performance gain achieved by using "SELECT *" is that it takes less time to type. You might argue that there is some miniscule benefit in compilation time, or...
December 12, 2006 at 9:06 am
Whenever I see something create a temp table and then delete unwanted rows, I wonder if the final table could be generated in one step. The ROW_NUMBER function can't be...
December 12, 2006 at 8:56 am
How are we supposed to know when we're supposed to spot the sneaky little syntax errors in the trick questions, and when we're supposed to overlook the stupid errors in...
December 11, 2006 at 8:35 am
Most of the suggestions in this thread have assumed that you have some control over how the backups are done. If Netbackup is running things, you don't have any control. ...
December 8, 2006 at 1:40 pm
One of the compressed-backup vendors (I don't recall which, probably either LiteSpeed or RedGate) has a benchmark of backing up 1TB in < 2hr. They probably were using hardware that...
December 8, 2006 at 9:50 am
A dual-core CPU may be equivalent to 1.6-1.8 single CPU's, but that doesn't mean it is equivalent to 0.8-0.9 x the performance of a 2-CPU system. It should perform better than a dual-processor...
December 8, 2006 at 9:31 am
Viewing 15 posts - 661 through 675 (of 1,315 total)