例如:我现在要同时执行这么多语句

update community set xqmc=replace(xqmc,'
',''); update community set xqbm=replace(xqbm,'
',''); update community set dkxx=replace(dkxx,'
',''); update community set ssqy=replace(ssqy,'
',''); update community set ssjd=replace(ssjd,'
',''); update community set zhs=replace(zhs,'
',''); update community set cqnx=replace(cqnx,'
',''); update community set cqsx=replace(cqsx,'
',''); update community set wylb=replace(wylb,'
',''); update community set wygs=replace(wygs,'
',''); update community set wyf=replace(wyf,'
',''); update community set gn=replace(gn,'
',''); update community set rq=replace(rq,'
',''); update community set gs=replace(gs,'
',''); update community set gd=replace(gd,'
',''); update community set kfs=replace(kfs,'
',''); update community set jgsj=replace(jgsj,'
',''); update community set sc=replace(sc,'
',''); update community set yy=replace(yy,'
',''); update community set yh=replace(yh,'
',''); update community set yey=replace(yey,'
',''); update community set zxx=replace(zxx,'
',''); update community set dx=replace(dx,'
',''); update community set gj=replace(gj,'
',''); update community set dt=replace(dt,'
',''); update community set rjl=replace(rjl,'
',''); update community set lhl=replace(lhl,'
',''); update community set zdmj=replace(zdmj,'
',''); update community set jznd=replace(jznd,'
',''); update community set jzmj=replace(jzmj,'
',''); update community set jzjg=replace(jzjg,'
',''); update community set jzlb=replace(jzlb,'
',''); update community set cwxx=replace(cwxx,'
',''); update community set xqpt=replace(xqpt,'
',''); update community set xqwz=replace(xqwz,'
',''); update community set cs=replace(cs,'
',''); update community set url=replace(url,'
',''); 我只要在每条语句后面加个分号 ; 就可以直接点击运行然后输出结果 结果: [SQL]update community set xqmc=replace(xqmc,'
',''); 受影响的行: 0 时间: 1.450s [SQL] update community set xqbm=replace(xqbm,'
',''); 受影响的行: 0 时间: 1.440s [SQL] update community set dkxx=replace(dkxx,'
',''); 受影响的行: 0 时间: 1.421s [SQL] update community set ssqy=replace(ssqy,'
',''); 受影响的行: 0 时间: 1.557s [SQL] update community set ssjd=replace(ssjd,'
',''); 受影响的行: 0 时间: 1.430s [SQL] update community set zhs=replace(zhs,'
',''); 受影响的行: 0 时间: 1.425s [SQL] update community set cqnx=replace(cqnx,'
',''); 受影响的行: 0 时间: 1.432s [SQL] update community set cqsx=replace(cqsx,'
',''); 受影响的行: 0 时间: 1.415s [SQL] update community set wylb=replace(wylb,'
',''); 受影响的行: 0 时间: 1.433s [SQL] update community set wygs=replace(wygs,'
',''); 受影响的行: 0 时间: 1.436s [SQL] update community set wyf=replace(wyf,'
',''); 受影响的行: 0 时间: 1.424s [SQL] update community set gn=replace(gn,'
',''); 受影响的行: 0 时间: 1.428s [SQL] update community set rq=replace(rq,'
',''); 受影响的行: 0 时间: 1.439s [SQL] update community set gs=replace(gs,'
',''); 受影响的行: 0 时间: 1.438s [SQL] update community set gd=replace(gd,'
',''); 受影响的行: 0 时间: 1.461s [SQL] update community set kfs=replace(kfs,'
',''); 受影响的行: 0 时间: 1.440s [SQL] update community set jgsj=replace(jgsj,'
',''); 受影响的行: 0 时间: 1.449s [SQL] update community set sc=replace(sc,'
',''); 受影响的行: 1893 时间: 1.517s [SQL] update community set yy=replace(yy,'
',''); 受影响的行: 1743 时间: 1.499s [SQL] update community set yh=replace(yh,'
',''); 受影响的行: 1785 时间: 1.527s [SQL] update community set yey=replace(yey,'
',''); 受影响的行: 1094 时间: 1.485s [SQL] update community set zxx=replace(zxx,'
',''); 受影响的行: 2342 时间: 1.531s [SQL] update community set dx=replace(dx,'
',''); 受影响的行: 0 时间: 1.461s [SQL] update community set gj=replace(gj,'
',''); 受影响的行: 0 时间: 1.488s [SQL] update community set dt=replace(dt,'
',''); 受影响的行: 0 时间: 1.432s [SQL] update community set rjl=replace(rjl,'
',''); 受影响的行: 0 时间: 1.421s [SQL] update community set lhl=replace(lhl,'
',''); 受影响的行: 0 时间: 1.428s [SQL] update community set zdmj=replace(zdmj,'
',''); 受影响的行: 0 时间: 1.443s [SQL] update community set jznd=replace(jznd,'
',''); 受影响的行: 0 时间: 1.455s [SQL] update community set jzmj=replace(jzmj,'
',''); 受影响的行: 1 时间: 1.456s [SQL] update community set jzjg=replace(jzjg,'
',''); 受影响的行: 0 时间: 1.422s [SQL] update community set jzlb=replace(jzlb,'
',''); 受影响的行: 0 时间: 1.412s [SQL] update community set cwxx=replace(cwxx,'
',''); 受影响的行: 0 时间: 1.443s [SQL] update community set xqpt=replace(xqpt,'
',''); 受影响的行: 1894 时间: 1.604s [SQL] update community set xqwz=replace(xqwz,'
',''); 受影响的行: 0 时间: 1.609s [SQL] update community set cs=replace(cs,'
',''); 受影响的行: 0 时间: 1.656s [SQL] update community set url=replace(url,'
',''); 受影响的行: 0 时间: 1.630s

mysql工具Navicat批量执行SQL语句的更多相关文章

  1. JDBC连接MYSQL,批量执行SQL语句或在执行一个SQL语句之前执行一个SQL语句

    conn = MysqlJdbcUtils.getConnection(); Statement ps=conn.createStatement(); ps.addBatch("trunca ...

  2. SQL*PLUS中批量执行SQL语句

    SQL*PLUS中批量执行SQL语句 今天由于工作的需要,要在CMD中批量执行大量的SQL语句,对于Oracle学习还处在入门阶段的我,只能硬着头皮到处去寻找资料(主要是网络资料,也包括自己的电子书) ...

  3. 批量执行sql语句

    基本使用 $sqls="sql语句1;sql语句2;sql语句n"; 或 $sqls="insert into xx;";  $sqls.="inse ...

  4. c#实现用SQL池(多线程),定时批量执行SQL语句 【转】

    在实际项目开发中,业务逻辑层的处理速度往往很快,特别是在开发Socket通信服务的时候,网络传输很快,但是一旦加上数据库操作,性能一落千丈,数据库操作的效率往往成为一个系统整体性能的瓶颈.面对这问题, ...

  5. PHP mysqli 增强 批量执行sql 语句的实现代码

    本篇文章介绍了,在PHP中 mysqli 增强 批量执行sql 语句的实现代码.需要的朋友参考下. mysqli 增强-批量执行sql 语句 <?php //mysqli 增强-批量执行sql ...

  6. c#实现用SQL池(多线程),定时批量执行SQL语句

    在实际项目开发中,业务逻辑层的处理速度往往很快,特别是在开发Socket通信服务的时候,网络传输很快,但是一旦加上数据库操作,性能一落千丈,数据库操作的效率往往成为一个系统整体性能的瓶颈.面对这问题, ...

  7. mysqli扩展库应用---批量执行sql语句

    1, mysqli批量执行sql语句.基本语法: $sqls=”sql1;sql2;………” mysqli::multi_query($sqls); 同一个$sqls要么是增删改语句集合,要么是查询语 ...

  8. Jmeter(三十八)Jmeter Question 之 ‘批量执行SQL语句’

    知识使我们变得玩世不恭,智慧使我们变得冷酷无情,我们思考的太多,感知太少,除了机器,我们更需要人性,除了智慧,我们需要仁慈和善良. ------出自查理卓别林的演讲 前面有提到Jmeter使用JDBC ...

  9. executeBatch()批量执行Sql语句

    executeBatch()方法:用于成批地执行SQL语句,但不能执行返回值是ResultSet结果集的SQL语句,而是直接执行stmt.executeBatch(); addBatch():向批处理 ...

随机推荐

  1. XE8_DataSnap设置

    1.参考文章 http://blog.csdn.net/l799623787/article/details/17002979 ZC: 系列在这里:http://www.cnblogs.com/Chi ...

  2. 智课雅思词汇---十九、前缀se是什么意思

    智课雅思词汇---十九.前缀se是什么意思 一.总结 一句话总结:前缀:se- 表示“分开, 离开, 区别开” 前缀:se- [词根含义]:分离 [同源单词]:secede, secession, s ...

  3. mysql数据库优化课程---3、数据库设计是什么

    mysql数据库优化课程---3.数据库设计是什么 一.总结 一句话总结: 就是设计各个字段及各个字段类型 1.char,varchar,text同存'ABC'的存储空间为多少? char(255): ...

  4. RabbitMQ学习系列三:.net 环境下 C#代码订阅 RabbitMQ 消息并处理

    上一篇已经讲了Rabbitmq如何在Windows平台安装 不懂请移步: RabbitMQ学习系列二:.net 环境下 C#代码使用 RabbitMQ 消息队列 一.理论 .net环境下,C#代码订阅 ...

  5. gulp插件之-----转化es6代码到es5 取消严格模式 remove "use strict" directive

    Installation npm install babel-plugin-transform-remove-strict-mode && yarn add babel-plugin- ...

  6. 2017.11.28 Enginering management:problem-solving ability

    Today,my colleague is on bussiness trip. going to customer factory in jiangxi. slove the color diffe ...

  7. SQL使用指南(2)—— 约束的使用

    主键约束 (1)创建表时添加主键约束 primary key<column_name> (2) 修改表时添加主键约束 ALTER TABLE table_name ADD CONSTRAI ...

  8. matrix-gui-2.0 将javascript文件夹改成js文件夹

    /******************************************************************************** * matrix-gui-2.0 将 ...

  9. UVA - 1608 Non-boring sequences (分治,中途相遇法)

    如果一个序列中是否存在一段连续子序列中的每个元素在该子序列中都出现了至少两次,那么这个序列是无聊的,反正则不无聊.给你一个长度为n(n<=200000)的序列,判断这个序列是否无聊. 稀里糊涂A ...

  10. [转]使用Flexible实现手淘H5页面的终端适配

    曾几何时为了兼容IE低版本浏览器而头痛,以为到Mobile时代可以跟这些麻烦说拜拜.可没想到到了移动时代,为了处理各终端的适配而乱了手脚.对于混迹各社区的偶,时常发现大家拿手机淘宝的H5页面做讨论—— ...