How do I turn off the transaction logging of a SQLServer database from VBA code? 
Author Message
 How do I turn off the transaction logging of a SQLServer database from VBA code?

I need to turn off the transaction log so I can run a script that copies
data from one database to another.  I really don't want to use BCP.



Fri, 10 Mar 2000 03:00:00 GMT  
 How do I turn off the transaction logging of a SQLServer database from VBA code?

It is NOT possible to turn of the Transaction Log.

The closest you can get is to set the DB to Truncate Log on checkpoint.

OR run non logged operations.  Unfortunately that leaves you with BCP.

BCP really isnt all that bad, and actually works very well provided the
source and destination database Tables are identical.

Otherwise Excel works very well as a tool to hack the columns of data.

The Transfer Manager in SQL enterprise manager uses BCP to do the actuall
data transfer.

Your ideal solution will depend upon your exact requirements.

If you need any further help, please email me.

Steve Wort



Thu, 16 Mar 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. How do I turn off a SQLServer's database transaction log from my Access VBA code?

2. Turn off transaction logging

3. Turn off transaction logging

4. Turning off Sql Server Logging

5. If I turn logging off, but issue LogEvent....

6. Turning off an event from VBA

7. HELP turn off asynchronous running of VBA

8. Revision Balloons - Turning Off in VBA

9. Revision Balloons - Turning off via VBA?

10. Revision Balloons - Turning off in VBA

11. help: Turning off the VBA message box in Excel Macro

12. Turning Off Confirmations from code

 

 
Powered by phpBB® Forum Software