摘要: select t.*,t.rowid from sysob_ifobjcolumn t where t.ifwinid='t_sqlplan' ;---添加对象列--为对象列增加属性select t.*,t.rowid from sysob_ifobjpropty t where t.objid='dso1' and t.ifwinid='t_sqlplan' and t.objtype='C' 阅读全文
posted @ 2011-07-25 21:38 _cc 阅读(233) 评论(0) 推荐(0) 编辑
摘要: --已经上线的,但是没有下线的工位。序号不能够重复select DISTINCT s.seqplanno, s.* from seqplan s left join prodplan p on s.seqplanno = p.seqplanno where onmark = '*' and offmark is null; --注意下线不能够使用!=这样为空的,即没有下线的数据是查询不出来的。关于left join:http://www.w3school.com.cn/sql/sql_join_left.asp 阅读全文
posted @ 2011-07-25 21:30 _cc 阅读(246) 评论(0) 推荐(0) 编辑
摘要: select * from SYSUT_MsgIAItem --7_21事情增加字段insert into SYSUT_MsgIAItem values ('MQ_SEQPLAN','*',' ','新的序计划','*',' ','DIS','*','有新的滚动序计划,请注意查收!','I','有新的滚动序计划,请注意查收!',' ',' ',' ',' ' 阅读全文
posted @ 2011-07-25 21:24 _cc 阅读(278) 评论(0) 推荐(0) 编辑