I want to run a SET ROLE query in Oracle, do I use the ExecuteNonQuery function to run this query?
Printable View
I want to run a SET ROLE query in Oracle, do I use the ExecuteNonQuery function to run this query?
HI, I'm not too sure about Oracle but ExecuteNonQuery is used when you do not want to return anything from the Database.
E.g if you wanted to create a table use
executeNonQuery<-- Returns nothing
Want to return a set of rows to a datareader
executeReader<-- Returns rows
hth
Mark