Forum Replies Created

Viewing 15 posts - 2,926 through 2,940 (of 5,590 total)

  • RE: Retrieving max date and last but one max date

    Since you posted in a sql 2008 forum, what are the data types for the date? Are they datetime, date, datetime2, etc.

    Also, is there a PK constraint or unique constraint...

  • RE: GUID behaviour?

    WayneS (10/12/2010)


    I wonder if this should be construed as a bug? Extra stuff in a conversion to datetime throws an error. Seems it should be consistent.

    I've created a Connect item...

  • RE: GUID behaviour?

    sturner (10/12/2010)


    Okay, I understand your question now. It appears that the implicit conversion from (n)varchar() to uniqueidentifier involves only the first 32 valid hexadecimal characters and SQL server ignores the...

  • RE: GUID behaviour?

    The Dixie Flatline (10/12/2010)


    This is an American joke I just had to add here. You both deserve time off for GUID behavior.

    GROAN.

  • RE: Retrieving max date and last but one max date

    Ninja's_RGR'us (10/12/2010)


    Are you looking at last date and then last date minus 1 day or even minus 1 business day?

    If not you could always do "select top 2 distinct order...

  • RE: Retrieving max date and last but one max date

    You know, the people that help out here are all un-paid volunteers, so please HELP US HELP YOU. Providing the DDL scripts (CREATE TABLE, CREATE INDEX, etc.) for the tables...

  • RE: Are the posted questions getting worse?

    Gianluca Sartori (10/12/2010)


    Hi folks, I'm really stuck on this one.

    Can any of you jump in and clear the fog?

    It's a strange thing IMHO, sure beyond my knowledge.

    I think instead of...

  • RE: Flat File Import in SQL Server 2005

    Since every row doesn't have the name number of columns, you're going to have to import it manually instead of using a flat-file task.

    -- first, create a temp table to...

  • RE: Query tuning - avoid Case statement on this query

    I would think that for the evaluation of IS NULL, it would depend greatly on the distribution of data... if you have a million plus rows of data with 90%...

  • RE: Columns to rows

    Geez Bob, I had forgotten all about that one. Thanks for the reminder, and for the opportunity to re-read "a great collaboration" again!

  • RE: Are the posted questions getting worse?

    GilaMonster (10/11/2010)


    CirquedeSQLeil (10/11/2010)


    I found some interesting articles on the internet that perpetuated the myth too. I didn't reference them in the TSQL2sday post, but there is bad info out...

  • RE: Are the posted questions getting worse?

    Paul White NZ (10/11/2010)


    Jack Corbett (10/11/2010)


    $3k is about right at this point. You can do it for less by finding a cheaper hotel and roommate.

    A cheaper room-mate? :blink:

    Let's NOT...

  • RE: Procedure error/ security issue

    Tara-1044200 (10/11/2010)


    this proc runs ok when a sysadmin or security admin executes it but not others which is where iam trying to get.

    Then change "with execute as owner" to "with...

  • RE: Procedure error/ security issue

    What does this return?

    SELECT schema_name(schema_id), name

    FROM sys.tables

    WHERE name = 'empssn'

  • RE: sp_configure

    Because it's not related to sp_configure; it's related to the "user options" setting that you're trying to change.

Viewing 15 posts - 2,926 through 2,940 (of 5,590 total)