题
我有一个日期变量作为24-dec-08
。
我想仅08
组件从它
我如何做一个SELECT语句?
e.g:
select db||sysdate
--(this is the component where I want only 08 from the date)
from gct;
其他提示
在正常方式中的Oracle做,这是:
select db||to_char(sysdate,'YY')
from gct;
不隶属于 StackOverflow
题
我有一个日期变量作为24-dec-08
。
我想仅08
组件从它
我如何做一个SELECT语句?
e.g:
select db||sysdate
--(this is the component where I want only 08 from the date)
from gct;
其他提示
在正常方式中的Oracle做,这是:
select db||to_char(sysdate,'YY')
from gct;