这是我的查询怎么办时,注释行是什么,我想插入SQL SERVER插入使用插入多行到选择语句
insert into tbl_StockTransactions(ItemCode,TransactionDate,Narration,Docid,ReferenceNo,Qty,Price,UserId,BranchCode,StaffCode) select ItemCode,getDate(),Description,PostingDocid,'New Ref',Qty,Price,'uid','bc','sc' from tbl_PostingDetailsStock where PostingReference='A000275'
--select ItemCode,getDate(),Description,PostingDocid,'New Ref',Qty,Price,'uid','bc','sc' from tbl_PostingDetailsStock where PostingReference='A000276';
对不起,这是我想要的人 –
@EmmanuelOgoma,接受答案。 – PawelCz
@EmmanuelOgoma,是否符合您的要求,请点击选中标记下面只是给予好评按钮[旗它作为接受]这个答案..在将来使用 – Vikrant