Thread: using SqlTransaction when reading database

  1. #1
    Registered User
    Join Date
    Jan 2007
    Posts
    330

    using SqlTransaction when reading database

    Is it useful to use SqlTransaction and transaction.commit() or rollback when only reading from a database? Have some code here that does that

  2. #2
    Gawking at stupidity
    Join Date
    Jul 2004
    Location
    Oregon, USA
    Posts
    3,218
    If none of the records are being updated, I don't see a point for it.
    If you understand what you're doing, you're not learning anything.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. need reading material for c++ database optimization
    By elninio in forum C++ Programming
    Replies: 0
    Last Post: 07-24-2008, 11:32 PM
  2. Database to Database Transfer?
    By draggy in forum C++ Programming
    Replies: 4
    Last Post: 01-17-2007, 10:50 AM
  3. borland C++ database programming - Reading data
    By kes103 in forum C++ Programming
    Replies: 0
    Last Post: 05-15-2002, 08:08 PM
  4. Database
    By JHOOMAN in forum C Programming
    Replies: 1
    Last Post: 04-02-2002, 09:59 AM
  5. Replies: 1
    Last Post: 10-09-2001, 10:20 PM