摘要:
exec sp_executesql N'SELECT LA001, LA014, LA005, LA011, LA013, LA021 FROM cgjterp..INVLA INVLAWHERE LA001=@P1 AND LA009=@P2 ORDER BY LA001, LA009 ', N'@P1 varchar(20),@P2 varchar(10)', '301110101001', '01'这是执行动态sql的exec sp_executesql N'SELECT LA001, LA014, LA005, 阅读全文