Assigning Result to a column within a query using sql server
Two ways of assigning the result to a column name using sql Server:
- SELECT id,
- SELECT id,
colDate= DATEDIFF(dd, ShipDate, GETDATE() ) FROM table1
Two ways of assigning the result to a column name using sql Server:
colDate= DATEDIFF(dd, ShipDate, GETDATE() ) FROM table1

0comments
Post a Comment