Is it possible to have more then one foreign key in a
single table? if possible, is this the good way to design
the table?
Answers were Sorted based on User's Feedback
Answer / gaurav gautr
yes it is possible but your data fetch speed will slow down
Is This Answer Correct ? | 5 Yes | 0 No |
How to assign null values to variables or columns?
How many clustered indexes there can be on table ?
What are subquery and its properties?
what is procedure in sql?
you have a table with close to 100 million records recently, a huge amount of this data was updated now, various queries against this table have slowed down considerably what is the quickest option to remedy the situation? : Sql server administration
What is a Join and explain its types?
What are different types of statements that are supported by sql?
What languages bi uses to achieve the goal?
What are the properties of sub-query?
explain different types of constraints? : Sql server database administration
Do you know how to send email from database?
can any one say how to update the following senario I have a table <srabank> in which the table structure is as follows ANAME ACCNO LOCATION ACCTYPE BAL SBanuPrakash 31518746291 Punganur deposit 4000 Sreenivas 31518746292 mahoobnagar current 14000 Ranjith 31518746293 Karimnagar Savings 2000 Giresh 31518746294 Chennai deposit 40000 Boo 31518746295 Chennai Savings 20000 Jay 31518746296 Valachari Savings 1000 tirumalraj 31518746297 Vellore Savings 8000 The senario is We need to select one account number and check the balance after checking the balance if the balance exist we need to transfer to another account . in the from account the amount need to be reduced and in the to account the amount needed to be added. for example for the <accountno> <31518746291> the balance is <4000> for the <accno> <31518746292> the balance is <14000> after transferring the balance the details will look as follows <accno><31518746291> <bal> <2000> <accno><31518746292> <bal> <16000> the above mentioned two statment will come under the final result.