Click here to Skip to main content
15,899,026 members
Home / Discussions / Database
   

Database

 
AnswerRe: Foreign Key Pin
Mike Dimmick12-Mar-06 0:32
Mike Dimmick12-Mar-06 0:32 
AnswerRe: Foreign Key Pin
HimaBindu Vejella13-Mar-06 18:40
HimaBindu Vejella13-Mar-06 18:40 
QuestionT-SQL Help Pin
WDI10-Mar-06 20:16
WDI10-Mar-06 20:16 
AnswerRe: T-SQL Help Pin
Dave Kreskowiak11-Mar-06 17:45
mveDave Kreskowiak11-Mar-06 17:45 
QuestionADO.NET transactions affect performance? Pin
Judah Gabriel Himango10-Mar-06 6:29
sponsorJudah Gabriel Himango10-Mar-06 6:29 
AnswerRe: Transactions affect performance? Pin
Jörgen Sigvardsson10-Mar-06 10:00
Jörgen Sigvardsson10-Mar-06 10:00 
GeneralRe: Transactions affect performance? Pin
Judah Gabriel Himango10-Mar-06 10:34
sponsorJudah Gabriel Himango10-Mar-06 10:34 
GeneralRe: Transactions affect performance? Pin
Jörgen Sigvardsson10-Mar-06 10:52
Jörgen Sigvardsson10-Mar-06 10:52 
Judah Himango wrote:
Is that accurate or was I reading a programming myth?

I'm not sure. I do know that if you deal with OLEDB (COM), you open a connection to the database once. Then you create commands which can operate upon that connection. Furthermore, once you connect to the SQL-server, you create a session, much like the Query Analyzer does for you. That means that each command with a side effect, such as BEGIN TRANSACTION, is visible for all successive commands.

I find the idea of automatic transactions a bit worrysome. Suppose you have to call a stored procedure, which arent transaction neutral. With automatic transactions, life would become hard(er). Smile | :)

You can always test this by making a stored procedure return @@trancount, and retrieve that through ADO.NET. If it's not zero, and you know you haven't started any transactions manually, then ADO.NET is doing something behind your back...
AnswerRe: Transactions affect performance? Pin
Jörgen Sigvardsson10-Mar-06 10:04
Jörgen Sigvardsson10-Mar-06 10:04 
GeneralRe: Transactions affect performance? Pin
Judah Gabriel Himango10-Mar-06 10:29
sponsorJudah Gabriel Himango10-Mar-06 10:29 
AnswerRe: Transactions affect performance? Pin
Rob Graham10-Mar-06 12:21
Rob Graham10-Mar-06 12:21 
GeneralRe: Transactions affect performance? Pin
Judah Gabriel Himango11-Mar-06 15:29
sponsorJudah Gabriel Himango11-Mar-06 15:29 
AnswerRe: Transactions affect performance? Pin
Rob Graham10-Mar-06 12:26
Rob Graham10-Mar-06 12:26 
QuestionConnect to a remote SQLServer via local proxy Pin
MatthysDT10-Mar-06 1:50
MatthysDT10-Mar-06 1:50 
QuestionSELECT and SET Pin
Brendan Vogt10-Mar-06 1:03
Brendan Vogt10-Mar-06 1:03 
AnswerRe: SELECT and SET Pin
Colin Angus Mackay10-Mar-06 6:04
Colin Angus Mackay10-Mar-06 6:04 
GeneralRe: SELECT and SET Pin
Brendan Vogt12-Mar-06 19:03
Brendan Vogt12-Mar-06 19:03 
QuestionExtract data from MSDE through ADO.NET Pin
smadan10-Mar-06 0:43
smadan10-Mar-06 0:43 
AnswerRe: Extract data from MSDE through ADO.NET Pin
Colin Angus Mackay10-Mar-06 6:08
Colin Angus Mackay10-Mar-06 6:08 
AnswerRe: Extract data from MSDE through ADO.NET Pin
smadan16-Mar-06 19:06
smadan16-Mar-06 19:06 
QuestionSetting up SQL Server 2005 Pin
NewbieDude9-Mar-06 20:21
NewbieDude9-Mar-06 20:21 
AnswerRe: Setting up SQL Server 2005 Pin
Chandana Subasinghe10-Mar-06 7:49
Chandana Subasinghe10-Mar-06 7:49 
GeneralRe: Setting up SQL Server 2005 Pin
NewbieDude12-Mar-06 18:49
NewbieDude12-Mar-06 18:49 
GeneralRe: Setting up SQL Server 2005 Pin
Chandana Subasinghe12-Mar-06 23:54
Chandana Subasinghe12-Mar-06 23:54 
GeneralRe: Setting up SQL Server 2005 Pin
NewbieDude12-Mar-06 23:56
NewbieDude12-Mar-06 23:56 

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.