-- 查找所有sphinx引擎
select group_concat(table_name separator ' ') from information_schema.tables where engine='SPHINX' and table_schema ='dsideal_db';

-- 导出成sql文件
mysqldump -uroot -pD******** dsideal_db t_bag_resource_info_sphinxse t_base_allpublish_sphinxse t_base_group_member_sphinxse t_base_organization_sphinxse t_base_publish_kyyj_sphinxse t_base_publish_paper_sphinxse t_base_publish_resource_sphinxse t_base_publish_sphinxse t_base_publish_wk_sphinxse t_cloud_resource_info_sphinxse t_cp_person_sphinxse t_game_info_sphinxse t_news_info_sphinxse t_qyjh_hd_sphinxse t_qyjh_xzt_sphinxse t_resource_info_seach_sphinxse t_resource_info_sphinxse t_resource_my_info_sphinxse t_sj_test_sphinxse t_sjk_paper_info_sphinxse t_sjk_paper_my_info_sphinxse t_social_bbs_post_sphinxse t_social_bbs_topic_sphinxse t_social_blog_article_recommend_sphinxse t_social_blog_article_sphinxse t_social_dynamic_info_sphinxse t_social_notice_sphinxse t_supervise_info_sphinxse t_tk_info_sphinxse t_tk_question_info_sphinxse t_tk_question_my_info_sphinxse t_wkds_info_sphinxse t_wkds_wktostudent_sphinxse t_yp_relation_sphinxse t_yx_person_sphinxse t_zy_info_sphinxse >db.sql;

查找所有sphinx引擎表并生成创建表的语句的更多相关文章

  1. (转载)根据数据字典表定义的表结构,生成创建表的SQL语句

    <来源网址:http://www.delphifans.com/infoview/Article_221.html>根据数据字典表定义的表结构,生成创建表的SQL语句 //1.  类名:T ...

  2. sqlserver数据库导出表结构和表数据生成创建表和insert语句

    问题描述: 有时候我们只需要导出一张表和表数据到另外一个数据库,如果是备份整个库的话,就会很麻烦那样,没法满足需求. 解决方法: 以sqlserver2014为例:把MGActivity数据库的bat ...

  3. 【VBA】EXCEL通过VBA生成SQL,自动生成创建表结构SQL

    原文:https://blog.csdn.net/zutsoft/article/details/45441343 编程往往与数据库密不可分,一个项目往往有很多的表,很多时候通过excel来维护表结构 ...

  4. 09 ORM 多表操作,创建表,添加记录

    1.数据库表关系 1.一对多 为什么需要,重复字段太多 一对多关系表 Book id title price publish_id 1 python 100 1 2 php 200 2 3 go 10 ...

  5. Laravel 表单验证创建“表单请求”实现自定义请求类

    按照文档创建表单请求自定义类以后,调用总是403页面,咨询大佬说: public function authorize() { // 在表单验证类的这个方法这里要返回true,默认返回false,这个 ...

  6. SQL Server复制表结构和表数据生成新表的语句

    参考:http://topic.csdn.net/t/20020621/09/820025.html SELECT   *   INTO   newTableName   FROM   oldTabl ...

  7. Oracle查看表空间,创建表空间

    查看表空间: SELECT tablespace_name, file_id, file_name, round(bytes / (1024 * 1024), 0) total_space FROM ...

  8. drop表,然后创建表,插入数据,并创建索引等内容。

    execute immediate 'drop table sjb_jhgl_ydjhtdsbb';   execute immediate 'create table dw_sc.sjb_jhgl_ ...

  9. EFCore 通过实体Model生成创建SQL Server数据库表脚本

    在我们的项目中经常采用Model First这种方式先来设计数据库Model,然后通过Migration来生成数据库表结构,有些时候我们需要动态通过实体Model来创建数据库的表结构,特别是在创建像临 ...

随机推荐

  1. SpringMVC中前后端Date交互

    建议使用时间戳来避免日期格式带来的前后端问题,使用时间戳可以避免前后端.平台等问题. new Date().getTime()

  2. 1.Linux电源管理-休眠与唤醒【转】

    转自:https://www.cnblogs.com/lifexy/p/9629699.html 1.休眠方式 在内核中,休眠方式有很多种,可以通过下面命令查看 # cat /sys/power/st ...

  3. Python3学习笔记27-ConfigParser模块

    ConfigParser模块在Python3修改为configparser,这个模块定义了一个ConfigeParser类,该类的作用是让配置文件生效.配置文件的格式和window的ini文件相同,大 ...

  4. ABP 框架从源码学习——abp框架启动和结束(1)

       1.abp框架的启动是从Global.asax文件的Application_Start启动的,当然代表Global的application必须从AbpWebApplication继承: publ ...

  5. java 批量插入 Oracle

    sql = "INSERT INTO LOG_FILENAME(ID,FILENAME,CREATETIME) VALUES(2,?,sysdate)"; public void  ...

  6. eclipse:显示堆内存

    如下图 :

  7. 前端 -----jQuery的事件绑定和解绑

    11-jQuery的事件绑定和解绑   1.绑定事件 语法: bind(type,data,fn) 描述:为每一个匹配元素的特定事件(像click)绑定一个事件处理器函数. 参数解释: type (S ...

  8. 【原创】大数据基础之Presto(1)简介、安装、使用

    presto 0.217 官方:http://prestodb.github.io/ 一 简介 Presto is an open source distributed SQL query engin ...

  9. mysql优化——show processlist命令详解

    SHOW PROCESSLIST显示哪些线程正在运行 不在mysql提示符下使用时用mysql -uroot  -e 'Show  processlist'   或者   mysqladmin pro ...

  10. wx.chooseImage

    <view>上传图片</view> <view> <view> <button bindtap="getImg">上传图 ...