Forum Replies Created

Viewing 15 posts - 3,031 through 3,045 (of 7,636 total)

  • RE: Multi Column Sort

    Peso (4/8/2009)


    Chris, with the logic of the other Chris, how should this sample data be sorted?

    1 7 9

    NULL 6 ...

  • RE: Multi Column Sort

    I believe it's 23.5%. 🙂

    And definitely not fair, but within the rules.

  • RE: Multi Column Sort

    Yeah, my data follows the rules, but plays havoc with any simple distribution assumptions.

    😀

  • RE: Multi Column Sort

    Fair warning: this is some truly wicked data. Pretty close to worst case.

  • RE: Multi Column Sort

    One problem is that you guys are testing against Easy data. Now why don't you try some HARD data:

    CREATE TABLE SortedColumnsTestData

    (

    id INT NOT NULL PRIMARY KEY CLUSTERED,

    ...

  • RE: TSQL

    Jochen Vleming (4/8/2009)


    Julie Breutzmann (3/26/2009)


    While the question and answer were not ideal, this question was valuable to me because I learned so much from the discussion that followed.

    I totally agree...

  • RE: TSQL

    I believe that this happens in SQL 2000 because the compile "reads-ahead" or anticipates the datatype expected by the table column and then back applies it to the source expressions....

  • RE: Extracting XML File that is stored as a text data type

    Probably either of these:

    SELECT CAST(CAST(XMLMessage as VARCHAR(MAX)) AS XML).value('(//*:CompanyCode)[1]', 'NVarchar(50)')

    , CAST(CAST(XMLMessage as VARCHAR(MAX)) AS XML).query('(//*:CompanyCode/text())')

    from DocumentSource

  • RE: Falling Over our Assumptions

    You know what you do when you Presume? You make a Pres out of U and Me.

    No, wait. That's not right ...

  • RE: Are the posted questions getting worse?

    I think his real name is Foxy Jazz.

    😀

  • RE: Extracting XML File that is stored as a text data type

    This isn't valid XML. For one thing, the "NS8" prefix is never declared.

  • RE: Searching Good book for SSIS 2005

    That's from WROX. And I suggest that you get the 2008 version instead of the 2005 book.

  • RE: Select all tables from all databases using T-SQL

    You can either use {DB_Name}.INFORMATION_SCHEMA.TABLES or create a view like this:

    CREATE View vwAllTables as

    Select 'DBOne' as [DatabaseName], * From [DatabaseOne].sys.Tables

    UNION ALL Select 'DBTwo' as...

  • RE: SSIS default installation path

    If you make your packages location-unaware, you can just Xopy them wherever you want.

  • RE: Convert DateTime to Epoch

    dave b (4/7/2009)


    Lowell, Thanks for the reply.

    Let me clarify what I'm trying to do. I have a column that has a Timestamp (epoch unix timestamp) datatype. I need to create...

Viewing 15 posts - 3,031 through 3,045 (of 7,636 total)