Viewing 15 posts - 7,861 through 7,875 (of 14,953 total)
kkapferer (11/6/2009)
November 6, 2009 at 8:26 am
A practice that comes in handy:
When doing any sort of manual update in a production database, wrap it in a transaction, and don't commit till you know the results will...
November 6, 2009 at 8:23 am
It mainly depends on what you want to accomplish with your audit log.
You could use a transaction log parser. Database needs to be in full recovery (should be anyway...
November 6, 2009 at 7:19 am
No. You would do this through either Windows built-in backup, or through whatever backup software you're using for everything except databases. Regular file backup.
November 6, 2009 at 6:45 am
Simon Parry (11/6/2009)
Hiyes im using a 64bit sever
im having trouble locating to odbc drivers for this and can only find 32bit
can you point me in the right direction
thanks
simon
November 6, 2009 at 6:39 am
I've never seen having two case statements in a query make a difference in its performance vs one case statement.
I have seen lots of places where UDFs kill performance. ...
November 5, 2009 at 2:32 pm
Open the package in Business Intelligence Development Studio. Should be in the same directory on the Start menu as Management Studio is.
November 5, 2009 at 2:28 pm
Creating the databases with the views is going to be easier than creating the necessary dynamic SQL statements, in the long run.
You wouldn't use the exec command for the select...
November 5, 2009 at 2:28 pm
Parsing just checks syntax. Compiling checks for objects.
November 5, 2009 at 2:12 pm
Dynamic SQL is the only other way I know of, like my first example.
November 5, 2009 at 2:11 pm
My suggestion is build a DBA database on each server, and have a view on it that pulls the columns you need in the format you need from the table...
November 5, 2009 at 2:01 pm
Run a backup on the directory the log files are stored in. That's the easiest solution. If it's a diff backup, you'll only get files that have changed...
November 5, 2009 at 1:33 pm
The only way to do this is with dynamic SQL.
if 1=3
exec('select [Job_id], [name], [freq_interval] from msdb..sysjobschedules where freq_type = 8');
Of course, that raises the question of why you'd want to...
November 5, 2009 at 1:31 pm
Try it and see. That's the best way to really know it.
November 5, 2009 at 1:17 pm
Viewing 15 posts - 7,861 through 7,875 (of 14,953 total)