标签: sql oracle plsql oracle11g
我有以下程序,其中date_parameter输入是日期和时间, 我只需要date_parameter输入的日期,我该怎么做呢?
CREATE OR REPLACE PROCEDURE Month_Sub1 ( Month_Sub1_cursor IN OUT Reports.rep_type, date_parameter IN system_days.daytime%TYPE) AS BEGIN OPEN Month_Sub1_cursor FOR
感谢, 小号
答案 0 :(得分:2)
您可以trunc获取日期部分:
trunc
c