🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #2345

Using TADOConnection object

#2345
From: Pablo Ardon
Date: Wed, 27 Aug 2003 01:45
10 lines
1363 bytes
I'm using TADOConnection and then a TADOCommand object to execute Stored
Procedures that I have in my SQL Server database. I basically do inserts on
these stored procs, and more often just one insert per call, sometimes I
make a select on another table before the insert, but not always.
I read that by default ADO use AUTOCOMMIT, is this the case with this
connection object? And if this is true, is it the best way for me, since I'm
accessing a OLTP database?
Thanks for the help.

Pablo Ardon
Technical Details
Message-ID: <3f4c0ba9$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,de7209f0962795f2,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-08-26 18:42:17 PST
From: "Pablo Ardon" <pardon@cibertec.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Using TADOConnection object
Date: Tue, 26 Aug 2003 19:45:49 -0600
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 196.40.3.37
Message-ID: <3f4c0ba9$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1061948329 196.40.3.37 (26 Aug 2003 18:38:49 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail