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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is background process in Oracle?

1095


How to use attributes of the implicit cursor in oracle?

997


How to use fetch statement in a loop?

1010


What is a package ? What are the advantages of package ?

1079


What are the various constraints used in oracle?

1037


How do I reset a sequence in oracle?

1087


How to estimate disk space needed for an export job?

1039


How to define a record variable to store a table row?

1045


List the various oracle database objects?

1047


What is the effect of setting the value "all_rows" for optimizer_goal parameter of the alter session command? What are the factors that affect optimizer in choosing an optimization approach?

1034


What is the simplest tool to run commands on oracle servers?

999


How to find out what oracle odbc drivers are installed?

1034


What is a data dictionary and how can it be created?

1130


How to loop through a cursor variable?

1076


I just want to maintain data like an employee can belongs to 3 or more departments . We can resolve this by using composite key but it avoids normalization rules. So Can anyone tell me how can I maintain data.

2174