Quantcast
Channel: SCN : Unanswered Discussions - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 3719

how to extract time from datetime column

$
0
0

Hi

i need to extract time from datetime column:-

 

tried to_char('1900-01-01 19:10:00.000','HH:MM:SS') but it is showing NULL

 

cast('1900-01-01 19:10:00.000','time') but it is showing full datetime in column

 

for eg:- 1900-01-01 19:10:00.000

 

result expected :- 19:10:00.000

 

regards


Viewing all articles
Browse latest Browse all 3719

Trending Articles