sql server - Convert actual time to float in SQL -
how can convert specific time or actual time, in sql, float number? e.g., if 09:59:57 want float number: 0.416634556 in excel. thank all.
take @ this, may find answer here: cast , convert (transact-sql)
select cast(convert(datetime, col1) float) newvalue table1
Comments
Post a Comment