How can I find out no of rows inserted in store proc
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: How can I find out no of rows inserted in store proc

  1. #1
    Join Date
    May 2000
    Location
    fremont ca
    Posts
    182
    In my store rprocedure I am doing insert usinf as select
    I want to know how many data inserted ??
    How can I find out....run time
    Share on Google+

  2. #2
    Join Date
    Apr 2001
    Location
    Brisbane, Queensland, Australia
    Posts
    1,203
    Can't you do a SELECT COUNT(*) using the same query as the AS SELECT, push it to a variable and return it, or DBMS_OUTPUT it?

    Cheers
    OCP 8i, 9i DBA
    Brisbane Australia
    Share on Google+

  3. #3
    Join Date
    Feb 2000
    Location
    Singapore
    Posts
    1,758
    Or.. you may use implicit cursor attribute %ROWCOUNT
    Sanjay
    Share on Google+

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