Results 1 to 2 of 2

Thread: ExecuteNonQuery

  1. #1

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075

    ExecuteNonQuery

    I want to run a SET ROLE query in Oracle, do I use the ExecuteNonQuery function to run this query?

  2. #2
    Hyperactive Member MarkusJ_NZ's Avatar
    Join Date
    Jun 2001
    Posts
    375
    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
  •  



Click Here to Expand Forum to Full Width