Build a store procedure to Update and insert table ?
I have Two tables in my Database called AvaiableBalance and Balancewithdraw. This table( AvaiableBalance ) store the customer Bank balance and A/C details and one more table ( Balancewithdraw ) store the data when customer withdraw amount from ATM or Bank. this is the two tables history. now when customer with draw balance at ATM at the same time update the table called AvaiableBalance and insert a new Record into Balancewithdraw table. for this problem we going to achive through Store Procedure Balance withdraw table - when we with draw amount at that time we insert data into Balancewithdraw table automatically with above values ( A/c No, What is the withdraw balance, Withdraw time and date ) Create store procedure- /************************************************ Sp name ...