Re: RETURN_VALUES ??? done... What have I gained?
- From: Brian Bushay TeamB <BBushay@xxxxxxxxx>
- Date: Thu, 05 May 2005 22:35:36 -0500
>General question...
>
>-using an ADOSTOREDPROC component... is there any reason why I should use
>something else, say ADOQuery ???? With adodataset I was getting an error
>about a result set and didn't see anywhere where I had the opportunity to
>Execproc vs Open... (did I miss something there?)
>
>-the only advantage I see is that I'm not trying to return a dataset when
>all I need is a stinkin value, amount, string, what-have-you... there is
>nothing especially clean and simple about it... so... (the question)
>(FINALLY!)... Did I really gain anything??? (other then some tiny sense of
>accomplishment)
>
>That is a serious question by the way... is it somehow more effecient to
>retrieve one value/result when that is all you need?
When Borland came out with its ADO components they included three dataset
components (TadoTable,TadoQuery,TadoStoredProc) that closely resembled similar
BDE components. They also gave use two dataset components that had properties
that where closer to ADO native properties . These two are TadoDataSet and
TadoCommand. You use TadoDataset when a recordset is returned and TadoCommand
when you don't get a recordset.
There should be a small performance gain in not having a recordset returned and
it should require less code to use.
--
Brian Bushay (TeamB)
Bbushay@xxxxxxxxx
.
- References:
- RETURN_VALUES ??? done... What have I gained?
- From: Betsy
- RETURN_VALUES ??? done... What have I gained?
- Prev by Date: Getting autonumber after insert
- Next by Date: ADO Connection - Connection string issues
- Previous by thread: Re: RETURN_VALUES ??? done... What have I gained?
- Next by thread: Getting autonumber after insert
- Index(es):
Relevant Pages
|