摘要:
一:zookeeper是什么 What is ZooKeeper? ZooKeeper is a centralized service for maintaining configuration information, naming, providing distributed synchron 阅读全文
摘要:
1.示例1 查询1:作为查询结果 select case when mdjlx = 'db_jz' then 1 when mdjlx = 'kn_jz' then 2 when mdjlx = 'wb_jz' then 3 else 4 end as mdjlxfrom sr_main_ww wh 阅读全文
摘要:
1.用于模糊查询,做为过滤条件 上级的新闻下级可以看到 SELECT a.pk_cms_nrgl_st AS pk_id, a.time_stamp AS time_stamp, b.xalljgmc AS xalljgmc, a.cbt AS cbt, a.fk_cms_lmgl AS fk_cm 阅读全文
摘要:
一.对数据库原有字段默认值的设置 1.删除原有字段默认值 alter table 表名 alter column 字段 drop default;2..重写原有字段默认值alter table 表名 alter column 字段 set default 0; 二.存储过程函数f_lookup(), 阅读全文