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 Materialized View? In What Scenario we Use Materialized View?
What is server name sql?
How many types of database triggers can be specified on a table ? What are they ?
Write a query to get 2nd maximum salary in an employee table ?
69 Answers Accenture, BirlaSoft, Letse, Logica CMG, Qwest, Rheal Software, Saagam, Semantic Space, Tailor Solution, TCS, TinyERP,
How can you load microsoft excel data into oracle? : aql loader
What is the difference between a procedure and a function?
What is varchar sql?
Can a key be both primary and foreign?
What is trigger and types?
suppose u hav 1 book with set...page 1-100 n 101 -200 now print page from 2-100 n 102 -200... how we will do..?
How to use sql*plus built-in timers?
How do rank () and dense_rank () differ?
Oracle (3259)
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)