I know I'm doing something daft, so apologies - why do I get an 'Invalid object name PositionsDescription' error for the following SQL statement?
with cte as (
select
T.C.value('.', 'nvarchar(max)') as Description
from @TheRole.nodes('/descriptions/description') as T(C)
)
insert into PositionDescriptions (Description)
select c.Description
from cte as c
where not exists (select * from PositionDescriptions as p where p.Description = c.Description)
您对PositioinsDescription
和PositionDescriptions
感到困惑, PositioinsDescription
相似但又不同。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.