|
-
Feb 20th, 2003, 03:17 PM
#1
Thread Starter
Frenzied Member
ExecuteNonQuery
I want to run a SET ROLE query in Oracle, do I use the ExecuteNonQuery function to run this query?
-
Feb 20th, 2003, 03:44 PM
#2
Hyperactive Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|