随笔分类 -  数据库

上一页 1 2 3

postgre
摘要:删除数据库:dropdb -h 172.31.3.79 -p 5432 -U postgres zcy_test while read line; do echo $line cmd="SELECT pg_terminate_backend($line);" psql -h 172.31.3.79 阅读全文

posted @ 2018-03-23 13:08 我和你并没有不同 阅读(554) 评论(0) 推荐(0) 编辑

oplog
摘要:参考资料:https://www.cnblogs.com/ruizhang3/p/6539730.html http://www.jb51.net/article/113432.htm :insert Raw data {u'h': 0L, u'ts': Timestamp(1519780847, 阅读全文

posted @ 2018-02-28 10:38 我和你并没有不同 阅读(232) 评论(0) 推荐(0) 编辑

《MYSQL必知必会2
摘要:select top distinct column_name from tbl where id>0 group by name having count(*)>10 order by dtime desc age asc limit 1 60、NULL是没有值,空串是一个有效值61、主键只能使用 阅读全文

posted @ 2017-05-07 15:56 我和你并没有不同 阅读(130) 评论(0) 推荐(0) 编辑

上一页 1 2 3
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示