Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to call DDL statements from pl/sql?

Answer Posted / santosh kumar

declare
v_ddl_stat varchar2(200):='create table '||'&table_name'||'
('||'&column_names'||')'; --col_name like(eid number(5),name
varchar2(10))
begin
EXECUTE IMMEDIATE v_ddl_stat;
END;
/

Is This Answer Correct ?    8 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between union and union all? : Sql dba

1024


what is the use of anchoring object? what r the difference between anchoring object & enclosing object? can any one tell me all the details?

2497


Can you join views in sql?

961


what is the command used to fetch first 5 characters of the string? : Sql dba

1643


Why is pl sql needed?

956


What is graph sql?

996


What are different types of triggers?

1114


What is sql basics?

1046


What are the advantages of sql? Explain

1107


What are sql*plus environment variables?

1098


How do I view a sql database?

1023


What is error ora-01000: maximum open cursors exceeded

1150


How do you update a value in sql?

1047


What is relationship? How many types of relationship are there?

1188


Is id a reserved word in sql?

1151