相同的表数据在sqlserver和MySQL中使用各自的函数得到相同的结果,如下表 drop table tb;create table tb(id int, value1 varchar(10), value2 varchar(20));insert into tb values(1,'aa','11');insert into tb values(1,'bb','22');insert into tb values(2,'aaa','111');insert into tb values(2…
1.复制表(包括表结构.表数据) SqlServer: Select * into user_copy from user MySql: CREATE TABLE user_copy LIKE user; INSERT INTO user_copy SELECT * FROM user; 2.多表连接做update SqlServer: UPDATE s1 SET s1.salary= s2.salary FROM (SELECT * FROM s WHERE age>10) AS s1 JOI…
DbProvider Mysql <system.data><DbProviderFactories><remove invariant="MySql.Data.MySqlClient"/><add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Prov…