我想显示row_Debit
分数摘要取决于@fractionsNumber
参数,尽管我将列声明为 ,但我该Row_Credit decimal(18,3)
怎么做?
@fractionsNumber = 2 ;
Declare @InvoiceDetails as table(Row_Credit decimal(18,3) Null)
insert into @InvoiceDetails( Row_Debit )
Select amount as row_Debit
from Invoices