S
Sandy Hayman
Hi
Does anyone know if it is possible to use an sql passthrough query to append
data from a local table to an sql server database.
I have tried several sql statements that work when I try to append from sql
server database to sql server database tables but as soon as I select from
the same structured local table, the query doesn't do anything.
Some of the sql statements I have tried are:
SELECT INTO cdb.comm_data SELECT * FROM comm_data
SELECT INTO cdb.comm_data (data_date, id, ivalue) SELECT data_date, id,
ivalue FROM comm_data
cdb.comm_data is the sql server table.
comm_data is the local table
These statements work if I select from a replica table on the server
database but not when I select from local.
Any clues?
Thanks in advance
Sandy
Does anyone know if it is possible to use an sql passthrough query to append
data from a local table to an sql server database.
I have tried several sql statements that work when I try to append from sql
server database to sql server database tables but as soon as I select from
the same structured local table, the query doesn't do anything.
Some of the sql statements I have tried are:
SELECT INTO cdb.comm_data SELECT * FROM comm_data
SELECT INTO cdb.comm_data (data_date, id, ivalue) SELECT data_date, id,
ivalue FROM comm_data
cdb.comm_data is the sql server table.
comm_data is the local table
These statements work if I select from a replica table on the server
database but not when I select from local.
Any clues?
Thanks in advance
Sandy