Running a SQL statement on a DataSet or DataTable

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I would like to know if it is possible to run a SQL Select statement against
a disconnected Dataset or Datatable directly. I know that I can use a
rowfilter in a Dataview, but as an example I want to run the following:

SELECT MAX({ fn LENGTH(ColumnName) }) AS Expr1
FROM DatabaseTableName

Which returns the length of the longest string within the column within the
specified database table, but I would like to run it on the disconnected
table or dataset instead of directly on the database
fgravel@xxxxxxxxxxxxx


.