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

A phisical file has two fields like 1) Account No(10,0)
2)Phone No(15,0)Unique on both fields?Please give me the
answer for this?

Answer Posted / amit

If you use UNIQUE on both fields then one account will
allow only one phone number. Another phone number can't be
used there similarly you can't have one phone number
associated with multiple account.

however if you give unique constraint for the key
combination then it would ensure that you have account
number and phone number combination is unique.

So you can have same account number with multiple phone
numbers and vice versa.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what does opcode post do ?

1844


what is maximum number of arrays allowed in rpg?

1973


can error messages as a result of a comp, range or values keyword be overridden?

2018


what does the ovrdbf command do?

1170


how many maximum spaces could be given in o specs?

1148


how may a cgi control duplicate inputs?

1112


what is the function of cpyf command?

1746


how many printer files can be defined in f specs ?

1693


How can we update a specific field in RPG?

1410


which are the member types which seu supports?

1396


how will you display a particular page in subfile ?

1757


what does defn do?

1136


any one have give AS400 study material? pls pass it to gopalsai789@gmail.com

1767


what is the function of cpysplf command?

1781


what is the use of unique keyword and what level it is defined?

1663