06 2019 档案
摘要:--建表CREATE TABLE kudu_testdb.perf_test_t1( id string ENCODING PLAIN_ENCODING COMPRESSION SNAPPY, int_value int, bigint_value bigint, timestamp_value t
阅读全文
摘要:file->setting->project->project interperter,双击右侧出现的pip,弹出安装包,搜索pymysql->选择第一个->Install Package出现底部绿色字体说明导入成功
阅读全文
摘要:SELECT 新字段类型 = '',表名 = case when a.colorder=1 then d.name else '' end,表说明 = case when a.colorder=1 then isnull(f.value,'') else '' end,字段序号 = a.colord
阅读全文
摘要:select name from sysobjects where xtype='TR' --所有触发器select name from sysobjects where xtype='P' --所有存储过程select name from sysobjects where xtype='V' --
阅读全文
摘要:今天在工作中,碰到一个SQL执行时特别慢,然后去追查原因,发现有两张表的字段关联,却没有加索引,于是就把被关联的表添加一个索引,但是忘记添加索引的命令,只好去百度查,之后干脆把它们记录起来吧! --查看索引 show index from order_book_info_tab; --添加索引 AL
阅读全文
摘要:2019-06-12 记录这历史的一刻,伟大的林哥博客开通咯。 恭喜呀!
阅读全文