Forum Replies Created

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

  • Reply To: SQL bug

    Thom A wrote:

    Phil Parkin wrote:

    Thom A wrote:

    Have you tried using an unambiguous date format? '2021-11-01 00:00:00.000' is ambiguous with datetime. Try '2021-11-01T00:00:00.000' or just '20211101'.

    Well spotted!

    Not being American teaches you quickly that the...

  • Reply To: SQL bug

    it worked, brilliant, thank you very much!!

  • Reply To: SQL bug

    i am running it now, will keep you posted once it returns results

  • Reply To: SQL bug

    date_1 has data type as datetime and system type as datetime

  • Reply To: SQL bug

    this is the data I am interrogating, thousands of entried but I have copied one for info:

     

    link_id link_ref network date_1 time_per veh_cls data_source no_of_obs av_jt sum_sq_jt id

    4000000013232751B 1727255 8 2021-11-11...

  • Reply To: SQL bug

    Msg 242, Level 16, State 3, Line 8

    The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value.

    The statement has been terminated.

    (0 rows...

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