Microsoft SQL Server 2016 (SP1) (KB3182545) - 13.0.4001.0 (X64) Oct 28 2016 18:17:30 Copyright (c) Microsoft Corporation Express Edition (64-bit) on Windows 10 Pro 6.3 (Build 15063:) (Hypervisor)插入<x> SELECT * FROM <y>导致错误:无效的对象名称<y>“
我创建了一个全新的数据库,插入一些行,然后:
select * from table_1
--> Query executed successfully, 50 rows
insert into table_2 select * from table_1
--> Invalid object name 'table_2'
难道我做错了什么?
我们可以假设table_2存在并且名称是合适的qualifi ED? –
哦,上帝我是这样一个白痴:select * into table_2 from table_1 – tbone
它发生在我们身上:-) –