What does select count (*) mean in sql?
No Answer is Posted For this Question
Be the First to Post Answer
How will you distinguish a global variable with a local variable in pl/sql?
What is Difference Between delete and Truncate?
Can we group by two columns in sql?
What is synonyms?
what is the syntax for using sql_variant_property? : Transact sql
Which is better trigger or stored procedure?
Explain the purpose of %type and %rowtype data types with the example?
How do I save the results of sql query in a file?
Can you load data into multiple tables at once? : aql loader
Explain what is dbms?
What is the best partition size for windows 10?
declare v_count number(8,3); v_sal scott.emp.sal%type := '&P_sal'; cursor cur_name is select sal from scott.emp where sal between (v_sal-100) and (v_sal +1000); begin v_count :=nvl(sql%rowcount ,0); if v_count = 0 then dbms_output.put_line('no records are fetch in the given sal range'); else dbms_output.put_line('There is/are '||to_char(v_count)|| ' salaries are selected in the given range '); end if; end; in the above programm .....for any sal range ....always it shows the following message.. no records are fetch in the given sal range please find the mistake and share with me...with thansk and regards..sarao....