on 11-17-2017 8:24 AM
hi
I have excel sheet where column is of date datatype and date is 24/11/1958....
trying to upload excel sheet to sql server 2012 and column is showing null values... tried changing to to_char(datefield, 'yyyy.mm.dd') , to_date(to_char(datefield,'yyyy.mm.dd'),'yyyy.mm.dd'), substr as well
nothing is working..
Hi,
Since your column in excel is Datetime, it is would be sufficient to use only to_date function. use below function it will work.
to_date( datecolumn,'YYYY.MM.DD')
Thanks,
Rk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.