Click here to Skip to main content
15,888,908 members
Home / Discussions / Database
   

Database

 
GeneralRe: returning table from a stored procedure Pin
_J_25-Mar-05 3:00
_J_25-Mar-05 3:00 
GeneralRe: returning table from a stored procedure Pin
balkang25-Mar-05 23:25
balkang25-Mar-05 23:25 
GeneralIs Insert, Delete, Update already have transaction Pin
_J_25-Mar-05 1:59
_J_25-Mar-05 1:59 
GeneralRe: Is Insert, Delete, Update already had transaction Pin
Colin Angus Mackay25-Mar-05 2:07
Colin Angus Mackay25-Mar-05 2:07 
GeneralRe: Is Insert, Delete, Update already had transaction Pin
_J_25-Mar-05 2:12
_J_25-Mar-05 2:12 
GeneralRe: Is Insert, Delete, Update already had transaction Pin
Colin Angus Mackay25-Mar-05 2:25
Colin Angus Mackay25-Mar-05 2:25 
GeneralRe: Is Insert, Delete, Update already had transaction Pin
_J_25-Mar-05 2:38
_J_25-Mar-05 2:38 
GeneralRe: Is Insert, Delete, Update already had transaction Pin
turbochimp25-Mar-05 20:30
turbochimp25-Mar-05 20:30 
There are other potential transaction configurations, depending upon the database platform and the method of access.

SQL Server runs, by default, in AutoCommit mode although it can be disabled, requiring explicit COMMIT or ROLLBACK calls.

Oracle does not run in AutoCommit mode by default (in fact I have never determined if it can; I doubt it).

Of course, neither of the above comments really matter if the developer is using a managed data provider, all of which (along with the underlying ODBC and OleDB layers) implement some form of AutoCommit heuristics as far as I know, forcing the behavior to act as you describe.

I'm mainly making the distinction between exec'ing SQL at the command line versus through a managed provider, on different DB servers.

Have a good weekend.



The most exciting phrase to hear in science, the one that heralds the most discoveries, is not 'Eureka!' ('I found it!') but 'That's funny...’

GeneralT-SQL Question Pin
Mickey_WWW24-Mar-05 19:09
sussMickey_WWW24-Mar-05 19:09 
GeneralRe: T-SQL Question Pin
_J_25-Mar-05 1:56
_J_25-Mar-05 1:56 
GeneralRe: T-SQL Question Pin
Tony Lewis25-Mar-05 10:00
Tony Lewis25-Mar-05 10:00 
GeneralRe: T-SQL Question Pin
WDI26-Mar-05 0:05
WDI26-Mar-05 0:05 
GeneralRe: T-SQL Question Pin
Tony Lewis26-Mar-05 2:05
Tony Lewis26-Mar-05 2:05 
GeneralRe: T-SQL Question Pin
turbochimp25-Mar-05 18:12
turbochimp25-Mar-05 18:12 
GeneralRe: T-SQL Question Pin
Suman Singh29-Mar-05 11:38
professionalSuman Singh29-Mar-05 11:38 
GeneralHandle SQL errors with severity 10 Pin
_J_23-Mar-05 9:05
_J_23-Mar-05 9:05 
GeneralRe: Handle SQL errors with severity 10 Pin
Chris Meech23-Mar-05 9:14
Chris Meech23-Mar-05 9:14 
GeneralRe: Handle SQL errors with severity 10 Pin
_J_23-Mar-05 9:29
_J_23-Mar-05 9:29 
GeneralRe: Handle SQL errors with severity 10 Pin
Chris Meech23-Mar-05 9:54
Chris Meech23-Mar-05 9:54 
GeneralRe: Handle SQL errors with severity 10 Pin
_J_23-Mar-05 10:07
_J_23-Mar-05 10:07 
GeneralRe: Handle SQL errors with severity 10 Pin
Colin Angus Mackay23-Mar-05 13:03
Colin Angus Mackay23-Mar-05 13:03 
GeneralRe: Handle SQL errors with severity 10 Pin
_J_23-Mar-05 21:31
_J_23-Mar-05 21:31 
GeneralRow ID after INSERT to database Pin
Abyss22-Mar-05 21:00
Abyss22-Mar-05 21:00 
GeneralRe: Row ID after INSERT to database Pin
_J_23-Mar-05 1:45
_J_23-Mar-05 1:45 
GeneralRe: Row ID after INSERT to database Pin
Abyss23-Mar-05 2:19
Abyss23-Mar-05 2:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.