How do you define a foreign key?
What are the different sql languages?
what does it mean to have quoted_identifier on? : Sql dba
How much ram can sql express use?
Why do we use function in pl sql?
how do u call in & out parameters for stored procedures?
10 Answers A1 Technology, TCS, Techicon,
What is sql prepared statement?
What are user defined functions?
what is a composite primary key ? : Sql dba
What is the difference between sql/pl-sql/embeded sql?
What are the different types of functions in sql?
what is not null constraint? : Sql dba
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....