hi i need to store the time value alone in sql server database.i declared datetime type for that particular field. while inserting i need to store only time value, but it stores date also. how to insert time value alone for that particular filed?
i also tried " insert into tblname values('12.30 PM')" but it inserts as 12.30 pm on jan 1 1900 ..
please help to sort out this problem
thanks in advance...
i also tried " insert into tblname values('12.30 PM')" but it inserts as 12.30 pm on jan 1 1900 ..
please help to sort out this problem
thanks in advance...
Comment