VERANDER PROCEDURE [dbo]. [get_View_SAP_Data_Grid1] nvarchar @param3 (100) , nvarchar @param4 (100), nvarchar @param5 (100)
ZOALS
reeks nocount
verklaar @sql nvarchar (maximum)
plaats @SQN = N
SELECTEER dbo.SapData.MFRNUM, dbo.SapData.MFRNAME, dbo.SapData.WWGDESC, dbo.SapData.ITEM, dbo.SapData.XREF, dbo.SapData.SPIN,
dbo.SapData.REDBOOKNUM, dbo.SapData.WWGMFRNAME, dbo.SapData.WWGMFRNUM, WwgExtra.dbo.SapAltData.ALT1,
WwgExtra.dbo.SapAltData.ALT1SPIN, dbo.SapData.RICHTEXT, dbo.SapData.COMMENTS, WwgExtra.dbo.SapAltData.ALT1DESC,
WwgExtra.dbo.SapAltData.ALT1DESC2, WwgExtra.dbo.WwgExtra.GREEN, WwgExtra.dbo.WwgExtra.SEGMENT,
WwgExtra.dbo.WwgExtra.PRIVATE_LABEL
VAN dbo.SapData BINNEN TREED TOE
WwgExtra.dbo.WwgExtra OP dbo.SapData.ITEM = TREDEN WwgExtra.dbo.WwgExtra.ITEM BINNEN toe
WwgExtra.dbo.SapAltData OP WwgExtra.dbo.WwgExtra.ITEM = WwgExtra.dbo.SapAltData.ITEM
WAAR SapData.MFRNUM ALS @param3 + '' % ''
orde door „+ @param4 +“, '+ @param5
exec sp_Executesql @SQL, nvarchar N'@ param3 (100) ', @param3=@param3
|