using SqlTransaction when reading database

This is a discussion on using SqlTransaction when reading database within the C# Programming forums, part of the General Programming Boards category; Is it useful to use SqlTransaction and transaction.commit() or rollback when only reading from a database? Have some code here ...

  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,163
    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, 09: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, 08:59 AM
  5. Replies: 1
    Last Post: 10-09-2001, 10:20 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21