Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Start transaction log with code

Author  Topic 

nguyenl
Posting Yak Master

128 Posts

Posted - 2009-02-27 : 12:27:18
Hi,

I was wondering how I can do a trasaction backup with SQl Code. I am using SQL 2005.

Please help.

Thanks

tosscrosby
Aged Yak Warrior

676 Posts

Posted - 2009-02-27 : 12:56:54
See BOL -> Backup transaction log. It'll even supply you with a code snippet or two.

Terry

-- Procrastinate now!
Go to Top of Page

jackv
Master Smack Fu Yak Hacker

2179 Posts

Posted - 2009-02-28 : 12:08:14
BACKUP LOG pubs TO pubs_back_log WITH INIT is an example.



Jack Vamvas
--------------------
http://www.ITjobfeed.com
Go to Top of Page
   

- Advertisement -