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

What language does oracle use?

0 Answers  


What is data block in Oracle?

0 Answers   MCN Solutions,


Define Normalization with example?

1 Answers  


can you call insert/update/delete in select statements. If yes how? If no what is the other way?

2 Answers  


Explain oracle’s server parameter file.

0 Answers  


What is an oracle function?

0 Answers  


How to run create database statement again?

0 Answers  


How to resolve the ORA-39133 error in Oracle?

0 Answers  


What is the difference between normal and corelated subqueries?

2 Answers  


How to open a cursor variable?

0 Answers  


How to use subqueries with the exists operator in oracle?

0 Answers  


How to store pictures on to the database?

0 Answers  


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)