Forum Replies Created

Viewing 15 posts - 61 through 75 (of 824 total)

  • RE: CXPacket waits when creating an indexed view

    Just for good measure, I'll include the view creation statement:

    create view dbo.iv_SystemTransactionCardFund

    with schemabinding

    as

    select

    SystemTransactionID = st.ID,

    c.CardNumber,

    ...

    /*****************

    If most people are not willing to see the difficulty, this is mainly because, consciously or unconsciously, they assume that it will be they who will settle these questions for the others, and because they are convinced of their own capacity to do this. -Friedrich August von Hayek

    *****************/

  • RE: CXPacket waits when creating an indexed view

    I've checked the stats and they all seemed to be up to date (we have auto create and update stats on) But just to be sure, I forced an...

    /*****************

    If most people are not willing to see the difficulty, this is mainly because, consciously or unconsciously, they assume that it will be they who will settle these questions for the others, and because they are convinced of their own capacity to do this. -Friedrich August von Hayek

    *****************/

  • RE: CXPacket waits when creating an indexed view

    Here's the estimated execution plan for the view (sans index of course...)

    /*****************

    If most people are not willing to see the difficulty, this is mainly because, consciously or unconsciously, they assume that it will be they who will settle these questions for the others, and because they are convinced of their own capacity to do this. -Friedrich August von Hayek

    *****************/

  • RE: Encrypting SQL Code

    It kind of reminds me of several systems I've looked at that try to protect their "IP" by naming tables and columns like tbl1.col12 and not using any declarative integrity....

    /*****************

    If most people are not willing to see the difficulty, this is mainly because, consciously or unconsciously, they assume that it will be they who will settle these questions for the others, and because they are convinced of their own capacity to do this. -Friedrich August von Hayek

    *****************/

  • RE: Encrypting SQL Code

    Over the years I have evaluated many software systems for purchase and I have yet to recommend one that used encrypted procs. I assume that if they encrypt their...

    /*****************

    If most people are not willing to see the difficulty, this is mainly because, consciously or unconsciously, they assume that it will be they who will settle these questions for the others, and because they are convinced of their own capacity to do this. -Friedrich August von Hayek

    *****************/

  • RE: Encrypting SQL Code

    Encrypting stored procedures is almost as annoying as it is pointless.

    /*****************

    If most people are not willing to see the difficulty, this is mainly because, consciously or unconsciously, they assume that it will be they who will settle these questions for the others, and because they are convinced of their own capacity to do this. -Friedrich August von Hayek

    *****************/

  • RE: T-Sql rant

    steve dassin (4/3/2009)


    DCPeterson (4/3/2009)


    Chris Date's incoherency principle is in full force...

    Now that's funny! 🙂 The sql community has ignored someone whose spent a lifetime trying to explain why there's nothing...

    /*****************

    If most people are not willing to see the difficulty, this is mainly because, consciously or unconsciously, they assume that it will be they who will settle these questions for the others, and because they are convinced of their own capacity to do this. -Friedrich August von Hayek

    *****************/

  • RE: T-Sql rant

    Chris Date's incoherency principle is in full force...

    /*****************

    If most people are not willing to see the difficulty, this is mainly because, consciously or unconsciously, they assume that it will be they who will settle these questions for the others, and because they are convinced of their own capacity to do this. -Friedrich August von Hayek

    *****************/

  • RE: T-Sql rant

    If you like cursors so much, why not use ORACLE instead, it works well with cursors. MS SQL Server was developed to work well using sets, and it works...

    /*****************

    If most people are not willing to see the difficulty, this is mainly because, consciously or unconsciously, they assume that it will be they who will settle these questions for the others, and because they are convinced of their own capacity to do this. -Friedrich August von Hayek

    *****************/

  • RE: Configuration file problems

    I can't be the only one who's seen this problem can I?

    /*****************

    If most people are not willing to see the difficulty, this is mainly because, consciously or unconsciously, they assume that it will be they who will settle these questions for the others, and because they are convinced of their own capacity to do this. -Friedrich August von Hayek

    *****************/

  • RE: Wanting Decimal values to be truncated instead of rounded

    I'm sure this is more work than you want, but you could create staging tables for those tables (hopefully not the majority of them) and load into the staging tables...

    /*****************

    If most people are not willing to see the difficulty, this is mainly because, consciously or unconsciously, they assume that it will be they who will settle these questions for the others, and because they are convinced of their own capacity to do this. -Friedrich August von Hayek

    *****************/

  • RE: Wanting Decimal values to be truncated instead of rounded

    Not to my knowledge...

    Just curious why you can't do the explicit conversion using SQL? There may be another way to skin this cat...

    /*****************

    If most people are not willing to see the difficulty, this is mainly because, consciously or unconsciously, they assume that it will be they who will settle these questions for the others, and because they are convinced of their own capacity to do this. -Friedrich August von Hayek

    *****************/

  • RE: Wanting Decimal values to be truncated instead of rounded

    Use the round function to explicitly control this behavior.

    declare @Num decimal(6,3)

    set @Num = 3.289

    select round(@Num, 2, 1)

    /*****************

    If most people are not willing to see the difficulty, this is mainly because, consciously or unconsciously, they assume that it will be they who will settle these questions for the others, and because they are convinced of their own capacity to do this. -Friedrich August von Hayek

    *****************/

  • RE: SSIS 101: Isolating Data in a Data Flow

    Nice article Andy, I never really understood what the data viewers were. I sure wish I'd had this information a year ago...

    /*****************

    If most people are not willing to see the difficulty, this is mainly because, consciously or unconsciously, they assume that it will be they who will settle these questions for the others, and because they are convinced of their own capacity to do this. -Friedrich August von Hayek

    *****************/

  • RE: Versions of Disaster

    This is just one reason why change control is SO important. If you have a method of testing and documenting all changes made in your enviornment then it becomes...

    /*****************

    If most people are not willing to see the difficulty, this is mainly because, consciously or unconsciously, they assume that it will be they who will settle these questions for the others, and because they are convinced of their own capacity to do this. -Friedrich August von Hayek

    *****************/

Viewing 15 posts - 61 through 75 (of 824 total)