General information
Forum:
Microsoft SQL Server
Category:
Database management
Hi All:
How can I save the value of a field in a variable in my select
statement.
For example:
SELECT Bill_Master.Amt as Loc_Price,
Loc_Price + 1 as As tds
I want to save the value of amt in a variable call Loc_Price and select
Loc_Price + 1 as tds
Thanks
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only