Question: I would like to pass the contents of a DataTable as the from parameter in an Oracle SQL Statement. Is this possible?
The Scenario
Create the DataTable and Fill.
Pass Contents as the from Table in the SQL query.
var rankDataTable = new System.Data.DataTable(); // Assume Table is populated and field member of RN exists.
cmd.Execute ("SELECT Y.* FROM :rankDataTable Y WHERE Y.RN = 1", rankDataTable ) // Execute Query
Expected : Contents of rankDataTable are used in Oracle as part of a new Query
Thanks