Forum Replies Created

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

  • RE: Incorrect Default Date

    Chris,

    Problem solved.

    Your queries gave me the answer. The problem is the blank job number that was inserted on the day of the new server installation (the field should be NOT...

  • RE: Incorrect Default Date

    Chris,

    I suddenly see the answer from the result of the second query. The job number is always unique except if there is a null job number field (which there...

  • RE: Incorrect Default Date

    Chris,

    Here are the results:

    Job_Date Count

    1899-12-30 00:00:00.0004

    Manifest_Date ...

  • RE: Incorrect Default Date

    Christopher Stobbs (1/7/2009)


    Also could you post the queries that you expect are giving diff results.

    With samples of how the results are different. 🙂

    Christopher, I have constructed a query that demonstrates...

  • RE: Incorrect Default Date

    Chris Morris (1/7/2009)


    Exactly what do you mean by an 'empty date field', Richard? Surely this is NULL?

    Chris, You are right, I probably should have said NULL. I was also trying...

  • RE: Incorrect Default Date

    Nicholas Cain (1/7/2009)


    Why not just set a default on the column for the date that you want?

    Nicholas, This is an option, but it doesn't resolve the underlying problem. We need...

  • RE: Incorrect Default Date

    As I delve further into this I find that query results are varying between stored procedures - some giving the correct default value and others not.

    I will investigate further....

  • RE: Passing array To Stored Procedure

    Jeff Moden (10/7/2008)


    proudfoot.richard (10/7/2008)


    Works in 2000, but I'm not sure that this works in 2005 which no longer permits table variables to be returned to a calling stored procedure?

    I got...

  • RE: Passing array To Stored Procedure

    Works in 2000, but I'm not sure that this works in 2005 which no longer permits table variables to be returned to a calling stored procedure?

    I got round it by...

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