I have a table called testtable that have a column named expire_time of type [time]
The problem is that when I type the following in sqlcmd:
select * from testtable
It will return the following:
===================================
| ID | expire_time |
===================================
| 1 | 17:18:19:0370000 |
| 2 | 20:11:19:0680000 |
===================================
How should I parse my SQL statement such that it will display the following?
===========================
| ID | expire_time |
===========================
| 1 | 17:18:19 |
| 2 | 20:11:19 |
===========================

CONVERT()might need to be implement on the other table. – Jack Sep 20 '12 at 9:09