查看屏幕截图;我正在尝试选择要在我的QTYCompare数据库中创建的新表。
如何在“ into”语句中提及?
它在“ AFLOCAL”下有一条弯曲的线,当我尝试运行它时,它告诉我
对象名称'HOUKMISTRY1.AFLOCAL.QtyCompare.LegacyDataRaw'包含的前缀数量超过最大数量。最大值为2。
我正在尝试从查询窗口中网络上已打开的其他连接中进行选择...
Select
Field9 as Product,
field25 as Suffix,
field7 as HEAT,
field10 as Quantity,
field6 as AR_Numbers,
field58 as Commodity
into
HOUKMISTRY.AFLOCAL.QtyCompare.LegacyDataRaw
from
ssFields
where
ArchiveId = 16
and field6 is not Null
and (field6 not like '%,%')
答案 0 :(得分:1)
您必须创建具有Read Write Access的Link服务器,然后才能使用该DB读取或写入数据