Both servers running SQL 2000
I have set up on our local SQL server (using Enterprise Manager) a linked
server running on our ISP. Just did new linked server and added remote
password and login.
The following three queries work:
insert into LinkedServer.db name.dbo.Table2
select *
from LinkedServer.db name.dbo.Table1
select *
into LocalTable
from LinkedServer.db name.dbo.Table1
insert into LocalTable
select *
from LinkedServer.db name.dbo.Table1
This query, which is what we really want to do, does not work:
insert into LinkedServer.db name.dbo.Table1
select *
from LocalTable
and returns the error: 'The cursor does not include the table being modified
or the table is not updatable through the cursor.'
I am new to all this and would welcome some help.
Adrian
I have set up on our local SQL server (using Enterprise Manager) a linked
server running on our ISP. Just did new linked server and added remote
password and login.
The following three queries work:
insert into LinkedServer.db name.dbo.Table2
select *
from LinkedServer.db name.dbo.Table1
select *
into LocalTable
from LinkedServer.db name.dbo.Table1
insert into LocalTable
select *
from LinkedServer.db name.dbo.Table1
This query, which is what we really want to do, does not work:
insert into LinkedServer.db name.dbo.Table1
select *
from LocalTable
and returns the error: 'The cursor does not include the table being modified
or the table is not updatable through the cursor.'
I am new to all this and would welcome some help.
Adrian
Comment