Re: Delphi 6 - ADO - MS SQL Server
- From: "AquaGrrlll" <gnome@xxxxxxxxx>
- Date: Thu, 21 Sep 2006 15:49:27 +0100
Well I was talking in relative terms rather than absolute milliseconds. The
time taken was about 150ms per record to do the edit/post. It doesn't sound
a lot, but we're expected to process about 700k records and it all adds up,
of course (29 hours to do the lot). I was just expecting it to halve the
amount of time taken when I used Stored Procs and was rather taken aback
when it didn't.
I'll have a go at your method, which seems intriguing and very lateral.
Cheers
"Steve Zimmelman" <skz@xxxxxxxxxxxxxxxxxx> wrote in message
news:45129039$1@xxxxxxxxxxxxxxxxxxxxxxxxx
How much time to post are you talking about? I have a client who has a 40gig
DB, 100+ users, using SQL Server and ADO, with no performance issues.and
Every table has a primary. We use TAdoQuery for reading and some posting,
some stored procedures for updating. I stopped using the TADOStoredProcand use
mostly dynmaic SQL to address the SP's.
For example, your SP could be executed:
ADOCommand1.CommandText :=
'dpersUpdateIndividual '+
InToStr(ID)+','+
QuotedStr(Title)+','+
QuotedStr(Surname)+','+
QuotedStr(FirstName)+','+
QuotedStr(MiddleName) ;
ADOCommand1.Execute ;
-Steve-
.
- Follow-Ups:
- Re: Delphi 6 - ADO - MS SQL Server
- From: AquaGrrlll
- Re: Delphi 6 - ADO - MS SQL Server
- From: Brian Bushay TeamB
- Re: Delphi 6 - ADO - MS SQL Server
- From: Dennis Passmore
- Re: Delphi 6 - ADO - MS SQL Server
- From: Vitali Kalinin
- Re: Delphi 6 - ADO - MS SQL Server
- References:
- Delphi 6 - ADO - MS SQL Server
- From: AquaGrrlll
- Re: Delphi 6 - ADO - MS SQL Server
- From: Steve Zimmelman
- Delphi 6 - ADO - MS SQL Server
- Prev by Date: Re: ADO exception with character combination inside string...
- Next by Date: Re: Delphi 6 - ADO - MS SQL Server
- Previous by thread: Re: Delphi 6 - ADO - MS SQL Server
- Next by thread: Re: Delphi 6 - ADO - MS SQL Server
- Index(es):
Relevant Pages
|