Viewing 2 posts - 1 through 2 (of 2 total)
case when riskno=8
then dateadd(day,30,riskdt)
else dateadd(day,90,riskdt)
end as duedate
try this.
October 18, 2011 at 3:39 am
#1395754
while inserting dont use the column which is identity specific.
for eg: here company id is specified as auto-incremental.
insert into tablename (companyname,Companyaddress) VALUES(@cname,@cadd).
This will auto increment a number in the...
March 4, 2011 at 12:25 am
#1294467