SqlAlchemy&Pymssql and Insert TimeStamp

Discussion in 'Python' started by siouz, Feb 21, 2012.

  1. siouz

    siouz

    Joined:
    Feb 21, 2012
    Messages:
    1
    Likes Received:
    0
    hi
    i am using sqlalchemy 7.5 pymmsql 2.0.0b.

    When I try to insert data in table with a Timestamp column, i get this error :


    However the result shows for example
    (datetime.datetime(2006, 2, 16, 17, 50, 19) which is supposed to be
    2006-02-16 17:50:19.000
    anyway to correct query a date column using pymssql so that it gives
    the correct date format? thanks
     
    siouz, Feb 21, 2012
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.