Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Aug 2003
    Posts
    82
    Thanks
    0
    Thanked 0 Times in 0 Posts

    transaction, commits and rollbacks HOW TO

    NEED to apply transactions, commits and rollback to a script with a lot of inserts (sql server)

    thanks anyone.

  • #2
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts
    There have been quite some threads about it. Like

    Rollback my transaction

  • #3
    New to the CF scene
    Join Date
    Sep 2003
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: transaction, commits and rollbacks HOW TO

    Originally posted by atferraz
    NEED to apply transactions, commits and rollback to a script with a lot of inserts (sql server)

    thanks anyone.
    Hi,

    You can do the transactions from your ASP code using ADO:

    ' oConn is your ADO connection object
    oConn.BeginTrans
    oConn.CommitTrans
    oConn.RollbackTrans

    or you can do your transactions within your stored procedures in the SQL Server.

  • #4
    New Coder
    Join Date
    Aug 2003
    Posts
    82
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thank you all. got that.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •