Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mysql insert local table from remote table
Message
 
 
To
07/11/2012 06:11:40
Hee Lim Wang
Fantasy Software Enterprise
Malaysia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01556561
Message ID:
01556583
Views:
31
>>Hi all !
>>how to insert mysql local table from remote table ?
>>SQLEXEC(lnHandle,"insert into LocalTable.employee select * from RemoteTable.employee")
>
>Not sure about MySQL, but in SQL Server the full name of the table is:
>
>[Server].[DataBase].[Schema].[TableName]
>So maybe in MySQL is the same:
>SQLEXEC(lnHandle,"insert into LocalServer.DataBase.Schema.employee select * from RemoteServer.DataBase.Schema.employee")
>But you should check for the right syntax.
>
>Thanks ! but syntax error.....

Syntax error on what?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform