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 is a data definition language?
What is query syntax?
Is sql considered coding?
What is a sql driver?
How many tables can you join in sql?
What is join view in sql?
Explain the select statement in sql?
What are the uses of sysdate and user keywords?
What are the most important ddl statements in sql?
What is a dynamic query?
1. is it possible to use the cursor atttibutes (%found ,% rowcount , %isopen , %notfound ) to our user defined cursor names ....... cursor cursor_name is select * from scott.emp if you use... cursor_name%found , %rowcount ,%isopen,%notfound...will it work... -------------------------- 2.what is the difference between the varray and index by table .. -------- 3. type type_name is table of number(8,3) index by binary_integer; identifier_name type_name; first , last , prior , next ,trim are the methods we can use it for the above type...simillary is there any way to apply for cursors... with thanks and regards..sarao...
What is mdf ldf and ndf?
Which join is like inner join?
What is primary key sql?
What are the built in functions of sql?