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

Can a formula column referred to columns in higher group ?

0 Answers   Oracle,


What is the usage of merge statement?

0 Answers  


13. Display the second to fifth characters in each client name.

2 Answers   Wipro,


What is a lookup table in oracle?

0 Answers  


What is Database Link ?

2 Answers  


What is a Public Synonyms ?

1 Answers  


What is the difference between primary key and unique key and foreign key in oracle?

0 Answers  


Explain integrity constraint?

0 Answers  


What are the limitations oracle database 10g xe?

0 Answers  


Difference between primary key and unique key ?

77 Answers   Accenture, B2B Software Technologies, Cognizant, HP Finsoft, IndiaNIC, Karomi Technology, Keane India Ltd, L&T, Onward eServices, R Systems, Shakti, Techtic Solutions,


what is cartesian product?

2 Answers  


interview questions with answer for cts

0 Answers   Cognizant,


Categories
  • Oracle General Interview Questions Oracle General (1808)
  • 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)