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 the advantages of stored procedure?
What are field types?
what are ddl statements in mysql? : Sql dba
What is gpt format?
Can we use views in stored procedure?
Explain clause in sql?
Does sql view stored data?
What is sql and how does it work?
What is left join example?
How many triggers can be applied to a table?
1) Synonyms 2) Co-related Subquery 3) Different Jobs in Plsql 4) Explain Plan 5) Wrap 6) Query Optimization Technique 7) Bulk Collect 8) Types of index 9) IF primary key is created then the index created ? 10) Foreign Key 11) Exception Handling 12) Difference Between Delete and Trunc 13) Procedure Overloading 14) Grant Revoke 15) Procedure Argument types. 16) Functions. 17) Joins
What are sql*plus environment variables?
What is the difference between distinct and unique in sql?
What is a null value?
How many functions are there in sql?