随笔分类 - 数据库相关
摘要:1、达梦数据库: select 1 from syscolumns where id in(select id from sysobjects where UPPER(name)=UPPER('" + 表名+ "')) and UPPER(name)=UPPER ('"+字段名+"') 2、Orac
阅读全文
摘要:select Student, sum(case Course when '数学' then Score else null end) 数学, sum(case Course when '物理' then Score else null end) 物理, sum(case Course when '
阅读全文
摘要:SELECT * FROM dba_profiles s WHERE s.profile='DEFAULT' AND resource_name='PASSWORD_LIFE_TIME';--如果后面显示180天的请将密码有效期由默认的180天修改成“无限制”:ALTER PROFILE DEFAU
阅读全文

浙公网安备 33010602011771号