How to extract week number in sql

后端 未结 4 1354
难免孤独
难免孤独 2020-11-29 05:40

I have a transdate column of varchar2 type which has the following entrees

01/02/2012
01/03/2012

etc.

I converted it in to date fo

4条回答
  •  半阙折子戏
    2020-11-29 06:27

    Use 'dd-mon-yyyy' if you are using the 2nd date format specified in your answer. Ex:

    to_date(,'dd-mon-yyyy')
    

提交回复
热议问题