Greetings all,
I was discussing with my boss the reasons why I chose to use SQL%rowcount within a PL/SQL program. He mentioned that at one point, using the SQL%rowcount, found, and notfound functions were not consistent, nor 100% reliable. I looked around online (as well as here), but have not found any documentation suggesting this.
We're using Oracle 8.0.something, and soon 8.1.7(I think). Is the 'bug' described above true, either with our version or a previous version?
What I did find, which I knew, was that it can be easy to create a 'logic bug', and try to retrieve the rowcount, etc. for an 'old' SQL statement that since have been replaced with another SQL statement.
Thanks for any help. - Jeff
I was discussing with my boss the reasons why I chose to use SQL%rowcount within a PL/SQL program. He mentioned that at one point, using the SQL%rowcount, found, and notfound functions were not consistent, nor 100% reliable. I looked around online (as well as here), but have not found any documentation suggesting this.
We're using Oracle 8.0.something, and soon 8.1.7(I think). Is the 'bug' described above true, either with our version or a previous version?
What I did find, which I knew, was that it can be easy to create a 'logic bug', and try to retrieve the rowcount, etc. for an 'old' SQL statement that since have been replaced with another SQL statement.
Thanks for any help. - Jeff