How to insert time with AM,PM in my Table?

  • Hi Friends,

    My Table strct:

    ===========

    create table show_bus

    (

    id int identity,

    from_p varchar(100),

    to_p varchar(100),

    timin time

    )

    My Expecting OUTPUT:

    ================

    insert into show_bus values('a','b','6:05 AM')

    when i tried to enter these format its showing error on sql server 2000

    kindly help to me

  • Please don't cross post. It just wastes people's time and fragments replies.

    No replies to this thread please. Direct replies to http://www.sqlservercentral.com/Forums/Topic1519944-392-1.aspx

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply