PC Review Forums Newsgroups Microsoft DotNet Microsoft ADO .NET Transaction processing

Reply

Transaction processing

 
Thread Tools Rate Thread
Old 21-12-2006, 05:30 PM   #1
Dwight
Guest
 
Posts: n/a
Default Transaction processing


A couple of questions regarding transaction processing.

>From a windows application, does it make sense to use transaction

management for SELECT statements?

Does it make sense to use transaction management for a single UPDATE or
INSERT statements?

Thanks

  Reply With Quote
Old 21-12-2006, 05:49 PM   #2
William \(Bill\) Vaughn
Guest
 
Posts: n/a
Default Re: Transaction processing

No
No
No

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
Visit www.hitchhikerguides.net to get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
-----------------------------------------------------------------------------------------------------------------------

"Dwight" <dtrumbower@gmail.com> wrote in message
news:1166722226.215731.156760@42g2000cwt.googlegroups.com...
>A couple of questions regarding transaction processing.
>
>>From a windows application, does it make sense to use transaction

> management for SELECT statements?
>
> Does it make sense to use transaction management for a single UPDATE or
> INSERT statements?
>
> Thanks
>



  Reply With Quote
Old 21-12-2006, 07:24 PM   #3
Dwight
Guest
 
Posts: n/a
Default Re: Transaction processing

Thanks Bill. I assumed that would be answer.


William (Bill) Vaughn wrote:
> No
> No
> No
>
> --
> ____________________________________
> William (Bill) Vaughn
> Author, Mentor, Consultant
> Microsoft MVP
> INETA Speaker
> www.betav.com/blog/billva
> www.betav.com
> Please reply only to the newsgroup so that others can benefit.
> This posting is provided "AS IS" with no warranties, and confers no rights.
> __________________________________
> Visit www.hitchhikerguides.net to get more information on my latest book:
> Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
> and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
> -----------------------------------------------------------------------------------------------------------------------
>
> "Dwight" <dtrumbower@gmail.com> wrote in message
> news:1166722226.215731.156760@42g2000cwt.googlegroups.com...
> >A couple of questions regarding transaction processing.
> >
> >>From a windows application, does it make sense to use transaction

> > management for SELECT statements?
> >
> > Does it make sense to use transaction management for a single UPDATE or
> > INSERT statements?
> >
> > Thanks
> >


  Reply With Quote
Old 22-12-2006, 07:41 AM   #4
Sugandh Jain
Guest
 
Posts: n/a
Default Re: Transaction processing

you can just use try catches to catch some of the errors that can come up
coz' of data in tables, or any other reason..

Regards,
Sugandh

"Dwight" <dtrumbower@gmail.com> wrote in message
news:1166729046.954764.133580@a3g2000cwd.googlegroups.com...
> Thanks Bill. I assumed that would be answer.
>
>
> William (Bill) Vaughn wrote:
>> No
>> No
>> No
>>
>> --
>> ____________________________________
>> William (Bill) Vaughn
>> Author, Mentor, Consultant
>> Microsoft MVP
>> INETA Speaker
>> www.betav.com/blog/billva
>> www.betav.com
>> Please reply only to the newsgroup so that others can benefit.
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>> __________________________________
>> Visit www.hitchhikerguides.net to get more information on my latest book:
>> Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
>> and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
>> -----------------------------------------------------------------------------------------------------------------------
>>
>> "Dwight" <dtrumbower@gmail.com> wrote in message
>> news:1166722226.215731.156760@42g2000cwt.googlegroups.com...
>> >A couple of questions regarding transaction processing.
>> >
>> >>From a windows application, does it make sense to use transaction
>> > management for SELECT statements?
>> >
>> > Does it make sense to use transaction management for a single UPDATE or
>> > INSERT statements?
>> >
>> > Thanks
>> >

>



  Reply With Quote
Old 24-12-2006, 12:13 PM   #5
Jesús López
Guest
 
Posts: n/a
Default Re: Transaction processing

I think the first question is not always as simple as "NO". In some
circumstances, may be usefull to use a transaction under snapshot isolation
level.

Regards:

Jesús López



"William (Bill) Vaughn" <billvaRemoveThis@nwlink.com> escribió en el mensaje
news:%23fxthhSJHHA.1064@TK2MSFTNGP04.phx.gbl...
> No
> No
> No
>
> --
> ____________________________________
> William (Bill) Vaughn
> Author, Mentor, Consultant
> Microsoft MVP
> INETA Speaker
> www.betav.com/blog/billva
> www.betav.com
> Please reply only to the newsgroup so that others can benefit.
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> __________________________________
> Visit www.hitchhikerguides.net to get more information on my latest book:
> Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
> and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
> -----------------------------------------------------------------------------------------------------------------------
>
> "Dwight" <dtrumbower@gmail.com> wrote in message
> news:1166722226.215731.156760@42g2000cwt.googlegroups.com...
>>A couple of questions regarding transaction processing.
>>
>>>From a windows application, does it make sense to use transaction

>> management for SELECT statements?
>>
>> Does it make sense to use transaction management for a single UPDATE or
>> INSERT statements?
>>
>> Thanks
>>

>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off