摘要:
上午在使用KETTLE时,报了一个 An error occurred, processing will be stopped: 错误,手动跑没有问题,用jekens调用就报错。 具体原因不清楚,后面把 表输出组件默认为使用批量插入,数量为1000条。将1000条修改为500条,转换就可以正常执行了 阅读全文
摘要:
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 阅读全文