Is primary key an index?
How to count the no of records of a table without using COUNT function?
Is sql procedural language?
What does where 1/2 mean in sql?
What is asqueryable?
what is a control file ? : Sql dba
What are % TYPE and % ROWTYPE ? What are the advantages of using these over datatypes?
What is indexing in sql and its types?
What is materialised View?
Why use stored procedures?
How do I run a pl sql procedure in sql developer?
In pl/sql, what is bulk binding, and when/how would it help performance?
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....