Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

convert varchar(4) to time

$
0
0

Dear.

in database I have char(4) which I need to change into time

for example: in my column i have record like 0900 or 2300...how can I convert that values into time 09:00:00 or 23:00:00

 

thanks for helping me


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>