Forum Replies Created

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

  • RE: Convert INT to datetime

    thanks peso that did the trick 🙂

  • RE: Convert INT to datetime

    thanks ive just tried that on my table and i get the following error:

    Arithmetic overflow error converting expression to data type datetime.

    Here is the SQL, which I have replaced the...

  • RE: Convert INT to datetime

    Hi, ive just tried the code provided above and still the same result

    ie

    SELECT CONVERT(CHAR(10), STR('20070101', 8, 0), 111)

    still results in 20070101....

  • RE: Condition in JOIN clause

    hi,

    I have jus tested this and it has acheived wat i want, i shud of tested it b4 replying back, apologies,

    thanks for the replies

  • RE: Condition in JOIN clause

    thanks for the reply, however this wont achieve my goal, becuase if the "key" is not null i want a inner join on the tables if not jus the select...

  • RE: Converting Datetime to INT

    Thanks, both replies work 🙂

  • RE: Converting Datetime to INT

    Thanks for you reply.

    The reason is the date (a parameter to a report) which I am getting is in 2007/01/01 format however the date in the database is in int...

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