Hi I have a situation where given a Column "TotalDue" and a Percentage(17,5%)Could be anything.I need to deduct the percentage and put results in a table
CREATE TABLE #ResultTable (NettAmount money, GrossAmount money)
For example sake lets take AdventureWorks database they have a totalDue Column on
SELECT TotalDue from Sales.SalesOrderHeader
How Can I populate my TemporaryTable?