|
-
Aug 6th, 2012, 01:26 AM
#1
Thread Starter
Junior Member
plz clarify this doubt
i have one doubt , if i have to insert the values into the column such as "leavebalance" and that value will be come after subtract calculation of two different column from same table such as "maxleaveallowed " and "leavetaken".
my question is - i have to insert as
insert into Tablename (leavebalance) values (' "maxleaveallowed - leavetaken" ' ) where employeeID = 'something'
this query doesnt work as i generate this query by my own logic , plz correct or give a perfect code query
-
Aug 6th, 2012, 02:00 AM
#2
Thread Starter
Junior Member
Re: plz clarify this doubt
 Originally Posted by addycoolindia1
i have one doubt , if i have to insert the values into the column such as "leavebalance" and that value will be come after subtract calculation of two different column from same table such as "maxleaveallowed " and "leavetaken".
my question is - i have to insert as
insert into Tablename (leavebalance) values (' "maxleaveallowed - leavetaken" ' ) where employeeID = 'something'
this query doesnt work as i generate this query by my own logic , plz correct or give a perfect code query
resolved
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|