how to create table with in the procedure or function?
Answer Posted / k.l.tharangini
create table using procedure
create procedure test as
begin
EXECUTE IMMEDIATE
'CREATE TABLE emp(empno VARCHAR(10),JOB VARCHAR(10),SAL
NUMBER(10))';
end;
| Is This Answer Correct ? | 43 Yes | 3 No |
Post New Answer View All Answers
What are types of indexes in sql?
How do I kill a query in postgresql?
What are the limitations of sql express?
What are the datatypes available in pl/sql ?
What is a call statement? Explain with an example.
What is a mutating table and a constraining table?
What is sql basics?
How do I partition a table in sql?
Can we declare a column having number data type and its scale is larger than pricesionex: column_name number(10,100),column_name numbaer(10,-84)
What is a system versioned table?
What are sql procedures?
Which type of cursor is used to execute the dml statement?
List out the acid properties and explain?
What is the purpose of cursors in pl/sql?
What are user defined functions?