Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL against a DataSet
Message
From
07/05/2004 15:47:14
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00902028
Message ID:
00902070
Views:
17
This message has been marked as a message which has helped to the initial question of the thread.
Matthew,
Have you checked the help files for DataTable.Select? It returns an array of DataRows instead of a DataSet, but it might work faster than going back and forth between xml and Fox functions.

Hope that helps,
---J

>If I create a DataSet with a command like:
>
>DataSet dsOrders = this.GetDataSet("SELECT * FROM orders WHERE conditions")
>
>Is it possible to then run a second SQL against the resulting DataSet? I can accomplish this in SQL Server with the following:
>
>CREATE VIEW dsOrders AS
>SELECT field1, field2 FROM myTable WHERE conditions
>
>SELECT field1, field2 FROM dsOrders WHERE moreconditions
>
>I have a complex query that returns a DataSet that I would then like to run several other queries against. Thanks in advance for any suggestions.
>
>Kind Regards,
>
>Mat
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform