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...


i can create a view with two columns from emp table,, later
i need to add one more emp column to existing view.. what is
query

similarly add one more column to existing primary key
constraint.. please give me the solutions

Answers were Sorted based on User's Feedback



i can create a view with two columns from emp table,, later i need to add one more emp column to e..

Answer / raghavendra

create or replace view <view_name> as select * from emp;

or you can provide the columns in select command

Is This Answer Correct ?    5 Yes 0 No

i can create a view with two columns from emp table,, later i need to add one more emp column to e..

Answer / venki

CREATE OR REPLACE VIEW VIEW_NAME AS SELECT COL1,COL2,REQ_COL
FROM EMP;

Is This Answer Correct ?    4 Yes 0 No

i can create a view with two columns from emp table,, later i need to add one more emp column to e..

Answer / prasad_dwh09

dropping and recreating of view is not i am expecting..

Is This Answer Correct ?    2 Yes 2 No

i can create a view with two columns from emp table,, later i need to add one more emp column to e..

Answer / deepu

ALTER VIEW = CREATE OR REPLACE VIEW

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Oracle General Interview Questions

Explain the use of analyse option in exp command.

0 Answers  


How to use an explicit cursor without open statements?

0 Answers  


Is it possible to center an object horizontally in a repeating frame that has a variable horizontal size ?

0 Answers   Oracle, TCS,


What is meant by raw datatype?

0 Answers  


I need to get the values of the previous quarter.how to do this?eg: if my cuurent month is may i need to get the datas of the month jan,feb,march.Can it be done in oracle.I tried with date function q but for the month jan its not retriving the previous quarter(oct-dec).how to solve this.plpz anyone help me?

2 Answers   Philips,


How oracle handles dead locks?

0 Answers  


Explain oracle left join with an example?

0 Answers  


What is a data lock in oracle?

0 Answers  


How to connect to the server with user account: sys?

0 Answers  


What is materialized view in Oracle?

0 Answers   MCN Solutions,


diff between DELETE and TRUNCATE?.

14 Answers   HCL, Yalamanchili Software,


What is the disadvantage of User defind function?

0 Answers   CybAge,


Categories
  • Oracle General Interview Questions Oracle General (1809)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)