write a procedure to print a statement or number not
using "dbms_output.put_line" package.write a procedure
instead of it using procdure name as "print"
ex:-
declare
a number:=2;
begin
print(a);
end;
/* when U type above procedure 2 have to should be printed*/
Answer Posted / amit kumar(patna)
We have to create procedure for print and called the SP for print any message
create or replace procedure print(n varchar)
as
begin
dbms_output.put_line(n) ;
end ;
set serveroutput on
declare
a number;
begin
a:=20;
print(a);
end;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is type and rowtype in pl sql?
What normalization means?
What is cursor in pl sql with examples?
How do I order by ascending in sql?
How to get unique records from a table?
What is varchar used for?
what is oracle database ? : Sql dba
What are different types of sql?
what are the different type of normalization? : Sql dba
How many databases can sql express handle?
What is oracle pl sql developer?
Does google use sql?
How do you rename a table in sql?
Why coalesce is used in sql?
Which query operators in sql is used for pattern matching?