|
|
| Re: if data is not there in table why the procedure getting stuck? [message #569423 is a reply to message #569422] |
Thu, 25 October 2012 23:01   |
 |
BlackSwan
Messages: 20230 Registered: January 2009
|
Senior Member |
|
|
vikashkrburnwal@gmail.com wrote on Thu, 25 October 2012 20:58Hi all,
hope doing well.
sir, i am using one stored procedure
in which one query is there that is
SELECT to_char(Inpunch,'HH24:mi:ss') into v_Inpunch1 FROM ProcessingPunches
ORDER BY Inpunch ASC WHERE ROWNUM <= 1;
in this i am fetching top 1 value and storing Inpunch value in v_Inpunch1 variable
is this query is correct?
because i am getting error.
thanks
How should we know if query is correct?
What is existing data?
What is expected results?
What results are produced/
ERROR?
What Error?
I don't see any error.
Please read and follow the forum guidelines, to enable us to help you:
http://www.orafaq.com/forum/t/88153/0/
[Updated on: Thu, 25 October 2012 23:43] by Moderator Report message to a moderator
|
|
|
|
|
|