I have a table called service order which has columns called “From” and “To”. The data type for those columns is time(2).
When I try to insert a value into that column in sql server management studio, it show an error message says SqlDbType.Time overflow. value '8.00:00:00' is out of range.
Why is not allowing me to insert?
what data type I should use for a field that holds time only?
8.00:00:00isn’t a number of hours – I’d have expected you to use08:00:00instead.