Click here to Skip to main content
15,913,278 members
Home / Discussions / Database
   

Database

 
GeneralRe: Simplify a T-SQL Pin
Michael Potter25-Mar-05 11:34
Michael Potter25-Mar-05 11:34 
GeneralRe: Simplify a T-SQL Pin
Tony Lewis25-Mar-05 9:41
Tony Lewis25-Mar-05 9:41 
GeneralRe: Simplify a T-SQL Pin
andyharman28-Mar-05 4:32
professionalandyharman28-Mar-05 4:32 
GeneralDateTime Pin
vuthaianh25-Mar-05 5:24
vuthaianh25-Mar-05 5:24 
GeneralRe: DateTime Pin
Colin Angus Mackay25-Mar-05 6:29
Colin Angus Mackay25-Mar-05 6:29 
QuestionSQL problem ? Pin
Guinness4Strength25-Mar-05 4:28
Guinness4Strength25-Mar-05 4:28 
QuestionMultiple insert in single roundtrip with Sqlcommand, Possible??? Pin
abcxyz8225-Mar-05 4:11
abcxyz8225-Mar-05 4:11 
AnswerRe: Multiple insert in single roundtrip with Sqlcommand, Possible??? Pin
ToddHileHoffer25-Mar-05 4:35
ToddHileHoffer25-Mar-05 4:35 
GeneralRe: Multiple insert in single roundtrip with Sqlcommand, Possible??? Pin
Colin Angus Mackay25-Mar-05 6:32
Colin Angus Mackay25-Mar-05 6:32 
AnswerRe: Multiple insert in single roundtrip with Sqlcommand, Possible??? Pin
_J_25-Mar-05 7:19
_J_25-Mar-05 7:19 
AnswerRe: Multiple insert in single roundtrip with Sqlcommand, Possible??? Pin
_J_25-Mar-05 11:19
_J_25-Mar-05 11:19 
QuestionHow to ROLLBACK TRANSACTION on client level Pin
_J_25-Mar-05 3:32
_J_25-Mar-05 3:32 
AnswerRe: How to ROLLBACK TRANSACTION on client level Pin
Luis Alonso Ramos25-Mar-05 12:21
Luis Alonso Ramos25-Mar-05 12:21 
AnswerRe: How to ROLLBACK TRANSACTION on client level Pin
turbochimp25-Mar-05 18:02
turbochimp25-Mar-05 18:02 
GeneralRe: How to ROLLBACK TRANSACTION on client level Pin
_J_25-Mar-05 23:56
_J_25-Mar-05 23:56 
Generalreturning table from a stored procedure Pin
balkang25-Mar-05 2:52
balkang25-Mar-05 2:52 
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 

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.