Can we write create command in the plsql block?if possible
how?
Answers were Sorted based on User's Feedback
Answer / umadevi
yeah the above answer is correct..
begin
execute immediate 'create table tablename(column_name
coloumn_type(coloumn_length))';
end;
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / sidh
Yes We can write a create command in a PL/SQL block using
dynamic SQL
eg Execute immediate 'create table tab_name....'
| Is This Answer Correct ? | 8 Yes | 0 No |
what is self join and why is it required? : Sql dba
what is the difference between implicit and explicit trigger
write an sql query to get third maximum salary of an employee from a table named employee_table. : Sql dba
How do you determine the current isolation level? : Transact sql
Why function is used in sql?
Can a table contain multiple foreign key’s?
How One can easily select all even, odd, or Nth rows from a table using SQL queries?
What are the types of variable use in pl sql?
What is a 'instead of trigger'?
what are properties of a transaction? : Sql dba
What is the criteria while applying index to any column on any table.
what is foreign key? : Sql dba
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)