Forum Replies Created

Viewing 15 posts - 2,131 through 2,145 (of 6,394 total)

  • RE: Adding zeros into date column

    You cant do 0000-00-00 in any date field, if thats what you need I suggest CHAR(10)

    If you need it in a DATE datatype column the lowest value you can do...

  • RE: What is wrong with my script? (ORA-00984: column not allowed here)

    Not an Oracle guy myself, but I am guessing its something to do with "true" needing to be 'Y' or 'N', guessing Oracle isn't converting true to Y as its...

  • RE: need help with sql query, please help!

    itumelengd (10/1/2015)


    Try the code below, always try to keep your code simple:

    WHERE YEAR(roofyearbuilt) - 1991 > 17

    As per a different post, putting functions around columns in a where clause makes...

  • RE: How to trim sql query

    itumelengd (10/1/2015)


    DECLARE @bestdatum DATETIME

    SET @bestdatum = '2015-09-21 15:49:28'

    SELECT YEAR(@bestdatum) Year

    ,MONTH(@bestdatum) Month

    ,DAY(@bestdatum) Day

    ...

  • RE: Today's Random Word!

    crookj (9/30/2015)


    Ed Wagner (9/30/2015)


    DonlSimpson (9/30/2015)


    Ed Wagner (9/30/2015)


    anthony.green (9/30/2015)


    Ed Wagner (9/30/2015)


    anthony.green (9/30/2015)


    whereisSQL?(9/30/2015)


    Pour

    Pitcher

    Beer

    Brew

    Pub

    Bar

    Prohibit

    Disallow

    Explicit

  • RE: How to trim sql query

    What do you mean by change the database?

    Is this going to go into a stored proc?

    Is this a one off ad-hoc query?

  • RE: Connect to a sql database

    A backup is not an mdf its a bak.

    If you need the mdf, restore the database and detach it from the server and point to the restored mdf file.

    Out of...

  • RE: linked server mystery

    Sounds like a kerberos issues.

    Are all the servers in question running their services via AD service accounts? If so have they all been trusted for delegation?

  • RE: Like Statement With Parameters

    You have not qualified your string on the @firstname as nvarchar when passing it to the stored proc

    EXEC@return_value = [dbo].[SelectPerson ]

    @First = N'??',

    @Last = NULL,

    @Address= NULL

    Also take a look at...

  • RE: Nulls in the FileTable

    I was also looking at https://msdn.microsoft.com/en-GB/library/gg492084.aspx which disproves the answer.

  • RE: Today's Random Word!

    Ed Wagner (9/30/2015)


    anthony.green (9/30/2015)


    whereisSQL?(9/30/2015)


    Pour

    Pitcher

    Beer

    Brew

  • RE: Today's Random Word!

    whereisSQL?(9/30/2015)


    Pour

    Pitcher

  • RE: How to trim sql query

    Take a look at DATEPART

  • RE: Today's Random Word!

    Ed Wagner (9/30/2015)


    anthony.green (9/30/2015)


    Stuart Davies (9/30/2015)


    Eirikur Eiriksson (9/29/2015)


    Ed Wagner (9/29/2015)


    djj (9/29/2015)


    Ed Wagner (9/29/2015)


    DonlSimpson (9/29/2015)


    Eirikur Eiriksson (9/29/2015)


    Hair

    Follicle

    Shave

    Close

    Encounter

    Event

    horizon

    Sunset

    Sunrise

    tequila

  • RE: Today's Random Word!

    Stuart Davies (9/30/2015)


    Eirikur Eiriksson (9/29/2015)


    Ed Wagner (9/29/2015)


    djj (9/29/2015)


    Ed Wagner (9/29/2015)


    DonlSimpson (9/29/2015)


    Eirikur Eiriksson (9/29/2015)


    Hair

    Follicle

    Shave

    Close

    Encounter

    Event

    horizon

    Sunset

Viewing 15 posts - 2,131 through 2,145 (of 6,394 total)