IF(LEN(sql("Finance", "SELECT max(RepaymentNumber)+1 as RepaymentNumber FROM dbo.[RepaymentPlan]", 1, 1))==0,1, sql("Finance", "SELECT max(RepaymentNumber)+1 as RepaymentNumber FROM dbo.[RepaymentPlan]", 1, 1)+ seq() - 1) sql语句列出了。。求指导 |
最佳回答 |
||||
0
|
|