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 an escape character in sql?
How do I remove duplicates in two columns?
How do I create a sql script?
How to run pl sql program in mysql?
Explain architecture of sql server notification services?
What is the file extension for sql database?
Is sql a scripting language?
Does execute immediate commit?
what are date and time functions in mysql? : Sql dba
what is collation? : Sql dba
What is the least restrictive isolation level? : Transact sql
How do I write a sql query in pgadmin 4?
What is your daily office routine?
what is the difference between delete and truncate commands? : Sql dba
What are the parts of a basic sql query?