[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Transactions inside Stored Procedures

Posted on 2004-07-30
1
Medium Priority
?
357 Views
Last Modified: 2010-05-18
As far as I know, all sentences of a stored procedure run as if they belong to a transaction that is started at the beginning of the SP and commited at the end. Am I right or I need to explicitly begin and commit a transaction?

0
Comment
Question by:diegojserrano
1 Comment
 
LVL 14

Accepted Solution

by:
Jan Franek earned 500 total points
ID: 11678981
No, you're not right, you have to explicitly begin and commit transaction.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Suggested Courses

613 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question