我正在尝试将标识列添加到已创建的表中。我一直在使用的解决方案是插入行号
INSERT INTO MKTcampaign_ism.temptable
SEL
ROW_NUMBER() OVER (ORDER BY clubcode, campaigncode, region)
FROM MKTcampaign_ism.GO_Upgrade_Campaign_Ref
查询失败:
3706 syntax error expected something between the beginning of the request and the word insert into MKTcampaign_ism