数据库
wyh86996255
这个作者很懒,什么都没留下…
展开
-
oracle,postgresSQL一些sql查询语言
oracle: 查询某tablespace下所有表 Select * From All_Tables Where Tablespace_name = 'xxxxxx' 查询数据库中的表空间 select * from dba_tablespaces where tablespace_name = 'xxxxxx'//查询某表空间是否存在 查询某表字段名,字段属性 Selec...原创 2009-06-22 16:02:49 · 116 阅读 · 0 评论 -
数据库date类型的操作
insert 插入日期,oracle和postgres都一样,通过to_date来转换insert into TEST2 (QWE,ZXC)values(12321,to_date('2009-8-11','yyyy-mm-dd')) 但再其他操作中,oracle仍然需要通过to_date进行数据转换 而postgresSQL则能直接使用date = 'xxxx-xx-xx'的形...原创 2009-06-26 17:15:17 · 579 阅读 · 0 评论