Re: Getting results of a FOR Command
- From: "Guillem" <guillemvicens-nospam@xxxxxxxxxxxxxxxxxx>
- Date: 5 May 2006 07:03:58 -0700
Mark Moss wrote:
Help
I can issue the following command in SQL
Select *
From Customer FOR XML AUTO
Where CustomerID = 19934590
But how do I get the results in my program?
Mark Moss
without knowing what RDBMS you use (not sure what FOR XML AUTO is
either) any select statement will return a set of records, and you can
have it loaded into a TADOQuery or TADODataset without problems using a
TADOConnection to connect to the database, assigning the command to
your dataset and executing it.
--
Best regards :)
Guillem Vicens Meier
Dep. Informatica Green Service S.A.
www.clubgreenoasis.com
--
Contribute to the Indy Docs project: http://docs.indyproject.org
--
In order to contact me remove the -nospam
.
- Follow-Ups:
- Re: Getting results of a FOR Command
- From: Mark Moss
- Re: Getting results of a FOR Command
- References:
- Getting results of a FOR Command
- From: Mark Moss
- Getting results of a FOR Command
- Prev by Date: Incorrect syntax near keyword default
- Next by Date: Re: dxDBGrid no reaction immediately
- Previous by thread: Getting results of a FOR Command
- Next by thread: Re: Getting results of a FOR Command
- Index(es):
Relevant Pages
|