I am using Sybase Central (5.0.0.3311) and SQL Anywhere 10 (10.0.1.3716).
I have 2 similar databases on the same physical server with there own inividual Services running. I need to copy a table from one database to the other database-with the same table name.
I tried this
I ran this in an ISQL window opened on MyService1
I get the error:
"Primary Key 'MyTableName' is not unique"
How Should I go about copying a table between databases using different services?
Thanks everyone.
Patrick
Patrick is a distributor of Republic Magazine ( -free pdf copy downloadable ) and the webmaster of
I have 2 similar databases on the same physical server with there own inividual Services running. I need to copy a table from one database to the other database-with the same table name.
I tried this
Code:
INSERT MyService2.MyDbName.MyOwnerName.MyTableName
SELECT *
FROM MyService1.MyDbName.MyOwnerName.MyTableName
I ran this in an ISQL window opened on MyService1
I get the error:
"Primary Key 'MyTableName' is not unique"
How Should I go about copying a table between databases using different services?
Thanks everyone.
Patrick
Patrick is a distributor of Republic Magazine ( -free pdf copy downloadable ) and the webmaster of