我試圖解析XML到表中的XML與下面的語句:找不到與準備語句句柄0(SQL錯誤)
INSERT INTO NewDeploymentComponentDetails([Value],[ComponentTypeId])
SELECT [Value],[ComponentTypeId]
FROM OPENXML(@hDoc, 'Deployment/Components/Component/ComponentDetails')
WITH
(
Value NVARCHAR(255) 'Value',
ComponentTypeId INT '../ComponentTypeId'
)
但得到錯誤:
Could not find prepared statement with handle 0. The statement has been terminated.
任何關於上述錯誤wrt語句的想法?
嗨,Siya,我剛纔看到,你幾分鐘前就「在這裏」。你需要進一步的幫助嗎? – Shnugo