Re: Getting results of a FOR Command
- From: "Mark Moss" <markmoss@xxxxxxxxxxxx>
- Date: Fri, 5 May 2006 16:31:14 -0600
Guillem
"FOR XML AUTO" is a Microsoft Command to format the results of
the select as XML.
After I execute the full select statement I want to be able to
access the resulting XML Formated data.
Mark Moss
"Guillem" <guillemvicens-nospam@xxxxxxxxxxxxxxxxxx> wrote in message
news:xn0elvczk2odbo000@xxxxxxxxxxxxxxxxxxxxxxxxx
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: Sarah Lander
- Re: Getting results of a FOR Command
- References:
- Getting results of a FOR Command
- From: Mark Moss
- Re: Getting results of a FOR Command
- From: Guillem
- Getting results of a FOR Command
- Prev by Date: TADOStoredProc: Do cursors HAVE to be the last parameters?
- Next by Date: Re: dxDBGrid no reaction immediately
- Previous by thread: Re: Getting results of a FOR Command
- Next by thread: Re: Getting results of a FOR Command
- Index(es):
Relevant Pages
|