Hi all
Actually i have two tables
Suppose table name is Table A and Table B
in Table A having User_name,Password,Unique_no field
where Table B having User_name,Unique_no,Sales_count, Today_date field
Now, what i want, in Table B when i trying to do insert query at same time query should be extract User_name and Unique_no base on Unique_no condition + query can be insert sales_count+1 and today date also
for this i make a query
insert into Table B select User_name,Unique_no from Table A where Unique_no =@Unique_no
but not understand how can i insert sales_count increament and today date into Table B At same time
9 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Atul RokadePosted Aug 31, 2016, 9:05 AM
Atul RokadePosted Aug 19, 2016, 1:49 PM
Midhun TpPosted Aug 19, 2016, 1:06 AM
Bhuvan PandeyPosted Aug 19, 2016, 12:32 AM
Nitin SontakkePosted Aug 19, 2016, 12:00 AM
Tapan PatelPosted Aug 18, 2016, 4:09 PM
Atul RokadePosted Aug 18, 2016, 12:15 PM
Atul RokadePosted Aug 18, 2016, 12:13 PM
Nitin SontakkePosted Aug 18, 2016, 11:56 AM