Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

accessing record from table and storing it as variable

$
0
0

My table consists of fields like this

S.N. ------Customer_ID---------- Loan_taken_on(Date) ----------Payment_made_in(date)

=============================================================

1 -------- 5001 ----------------------- 2013/05/12----------------------NULL------------------------

=============================================================

Now as the user tries to update the table

  • The "loan_taken_on" has to get retrieved and stored in a variable (suppose @entry_date)

How can i select a record from table and treat its values as variables.Please help

Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>