【SQL Server】通过SQL Server操作MySQL(下)—— 操作MySQL
查询MySQL 语句
select * from openquery(TestMySQL,'select * from test.TestTable');
向MySQL表中插入数据
insert into openquery(TestMySQL,'select * from test.TestTable') select 1,'TestName';
删除MySQL 表中的数据
delete from openquery(TestMySQL,'select * from test.TestTable');
修改MySQL表中的数据
update openquery(TestMySQL,'select * from test.TestTable') set TestName='ABCDE' where TestID=1;
有志者,事竟成,破釜沉舟,百二秦关终属楚; 苦心人,天不负,卧薪尝胆,三千越甲可吞吴。

浙公网安备 33010602011771号