select table_name, table_comment, create_time, update_time from information_schema.tables
-- where table_schema = (select database())  -- 当前数据库

select column_name, (case when (is_nullable = 'no' && column_key != 'PRI') then '1' else null end) as is_required, (case when column_key = 'PRI' then '1' else '0' end) as is_pk, ordinal_position as sort, column_comment, (case when extra = 'auto_increment' then '1' else '0' end) as is_increment, column_type ,column_key
from information_schema.columns where table_schema = (select database()) and table_name = "sys_notice"
order by ordinal_position

最新文章

  1. [转载]Jquery中$.get(),$.post(),$.ajax(),$.getJSON()的用法总结
  2. sqlite数据库的使用helper
  3. 添加Web引用
  4. angularjs http 请求拦截器
  5. 微软今日发布汇总:VS2015, .NET 4.6, C# 6.0, F# 4.0等重量级产品正式上线
  6. 【GOF23设计模式】代理模式
  7. MongoDB配置多个ConfigDB的问题(笔记)
  8. CI框架获取post和get参数_CodeIgniter心得
  9. python_中文乱码问题
  10. 安卓 NEXUS6 修改分辨率,density
  11. UVa 297 - Quadtrees
  12. 基于MongoDB分布式存储进行MapReduce并行查询
  13. Python文件中文编码问题
  14. Randoop测试类和方法(用例自动生成)
  15. Less合并
  16. ios高级开发之多线程(二)NSThread技术
  17. firewalld 防火墙配置
  18. BZOJ.4337.[BJOI2015]树的同构(树哈希)
  19. React 入门学习笔记1
  20. C++模式学习------工厂模式

热门文章

  1. DC约束笔记
  2. springboot整合mybatis以及mybatis源码分析
  3. display和浮动
  4. 如何使用使用Mysql中的慢查。
  5. 2.4G收发一体芯片NRF24L01P跟国产软硬件兼容 SI24R1对比
  6. 01 流程控制之for循环
  7. 从零搭建hadoop集群之安装虚拟机
  8. ts的装饰器
  9. goland使用go mod模式
  10. es 部署 进程、文件数 配置