摘要:
变量字段,需要用EXECUTE来执行。Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->BEGINIFOBJECT_ID('dbo.#TempTable')ISNOTNULLDROPTABLEdbo.#TempTableCREATETABLE#TempTable(IdINT,ItemNVARCHAR(100))END动态添加一个以当前日期作为字段:Code highlighting produced by Actipro Cod 阅读全文