Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

How to insert addition of two data field value in third data field value

$
0
0

MY TABLE IS LIKE THAT

ID int identity(1,1),

A int,

B int

SUM int,

I HAVE CREATED WEB PAGE FROM THAT PAGE IM ADDING TWO VALUE

@a

@b

insert into table(A,B,SUM) value(@a,@b,(@a+@b))

but not working any other method for this in sql server


Sms


Viewing all articles
Browse latest Browse all 7129

Trending Articles



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