Forum Replies Created

Viewing 15 posts - 5,956 through 5,970 (of 8,416 total)

  • RE: nullable foreign keys for all primary keys

    If Jeff's comment doesn't resolve all your problems, please do post the sample data, as I am still keen to take a look at this.

    Paul

  • RE: Best example of grouping ???

    RBarryYoung (2/21/2010)


    vaibhav.tiwari (2/20/2010)


    I want to get the best example of group by with cube rollupto understand as i m very confused between two ot them

    What do you mean by "best"?...

  • RE: Parsing data

    RBarryYoung (2/21/2010)


    You could'nt find one here? Sure the CLR solutions are generally faster, but some of the SQL solutions are pretty good too.

    That's the super-long thread that prompted both...

  • RE: Looking for Explanation for this

    I do love a happy ending 😀

    And yes, ANSI_NULLS OFF is entirely evil and must die.

    Paul

  • RE: Unique Key on Text datatype

    Jeff Moden (2/21/2010)


    Speaking of killing things... I can't believe that anyone would put a default on a password column unless it's meant to daze and confuse. 😉

    The original posted...

  • RE: ALTER a HUGE TABLE

    The reason I asked for details was because the best solution often depends on the details.

    All you've done really is ask me to trust you, and that there really is...

  • RE: Help with Cursor

    mbender (2/21/2010)


    Yes we would need to assign a pkey, it would not be PartNumber or location because those are not always unique.

    Sigh. My suggestion was for a compound primary...

  • RE: Create assembly

    Performing the data conversion before it hits the database at all is still cleaner and more efficient in my view.

    As far as existing data is concerned, bulk copy out, convert,...

  • RE: UNION a series of TOP statements

    lmu92 (2/21/2010)


    When using DATEPART(WEEKDAY, AsofDate) you need to make sure to have DATEFIRST set to 7. Otherwise you'll get incorrect results.

    Lutz,

    You sure about that?

    Monday is the first day of the...

  • RE: EXISTS

    Barry,

    How would reversing the statements work? An INSERT might throw an exception if a key value already exists. Wrapping it in TRY...CATCH would work, but you still have...

  • RE: Sql 2005 query problem, thanks for your help

    Let me know if you have any trouble understanding and aspect of it.

    The key point is probably to appreciate the APPLY just calls a table-valued function for every row of...

  • RE: REcieving Error calling a CLR function

    gail_liberty (2/21/2010)


    Thanks for your opinion, Paul. Do you have any suggestions for converting RTF text that resides in an NTEXT column to plain text other than the solution given...

  • RE: CPU time drops, but elapsed time increases

    Barry,

    I'm not sure about that equation! Where do I place waits due to a lack of an available scheduler? Where do waits on memory access appear?

    For my...

  • RE: Alter A Partitioned Table Column DataType.

    That seems to be a connect item trying to report a display anomaly in the undocumented and unsupported DBCC PAGE command.

    It doesn't show data corruption at all...?!

  • RE: Looking for Explanation for this

    Matt Miller (#4) (2/15/2010)


    NULL is not a value, so as such, NULL is neither equal nor not equal to any value.

    So, let me try again :w00t:

    This above quoted statement is...

Viewing 15 posts - 5,956 through 5,970 (of 8,416 total)