oracle如何拼接时间 比如我要查开始时间2017-02-01和结束时间2017-03-31这一时间段内的东西,差出来显示的时候是时间段2017-02-01—2017-03-31 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 to_char之后就可以拼接了 with tb as (select to_date('2017-02-01') as fromdt,to_date('2017-03-31') as enddt from dual)select to_char(fromdt,'yyyy-mm-dd') || '―' || to_char(enddt,'yyyy-mm-dd') as shijian from tb oracle存储过程 求一SQL语句,要求截取一字段的某一部分插入到另一字段中 !!!!紧急求救ORAcle高手 誰有j2eeAPI中文文檔?多謝了。 oracle中的number(10,2)等同于sql server数据库中什么类型??? 用SQL语句抓出表中栏位的字段大小等相关信息 数据库接口程序,高分悬赏 oracle 8i安装后为何没有8.0.X版中的管理工具 在用oracle 向导创建数据表错误 oracle整库导出导入 oracle大神请进 oracle存储过程一次返回多次次查询结果
with tb as (select to_date('2017-02-01') as fromdt,to_date('2017-03-31') as enddt from dual)
select to_char(fromdt,'yyyy-mm-dd') || '―' || to_char(enddt,'yyyy-mm-dd') as shijian from tb