Forum Replies Created

Viewing 15 posts - 4,846 through 4,860 (of 8,761 total)

  • RE: How to pick records within 2 months period

    Quick example of how this can be done, you should be able to work it from there.

    😎

    USE tempdb;

    GO

    SET NOCOUNT ON;

    GO

    IF OBJECT_ID(N'tempdb..#tmp_CustInfo') IS NOT NULL DROP TABLE #tmp_CustInfo;

    CREATE TABLE #tmp_CustInfo

    (patID varchar(20),

    enc_date...

  • RE: Are the posted questions getting worse?

    Steve Jones - SSC Editor (7/29/2015)


    Now?

    24 times more Steve:-D

    😎

  • RE: Are the posted questions getting worse?

    SQLRNNR (7/29/2015)


    And in breaking news...

    The thread is about to turn 50,000.

    Let the countdown begin.

    He he, C350 (50.000 in 0x), my favorite engine ever since the '67 Camaro:-D

    😎

  • RE: Are the posted questions getting worse?

    Lynn Pettis (7/29/2015)


    Oh Silver Spoon, how do you manage to keep a job when you keep asking such basic questions. At least you found the answer to one of...

  • RE: Are the posted questions getting worse?

    SQLRNNR (7/29/2015)


    WayneS (7/29/2015)


    BL0B_EATER (7/29/2015)


    WayneS (7/28/2015)


    I love it when I learn something in an area where I thought I knew it all.

    You have made me very curious. What was the subject?

    Table...

  • RE: Today's Random Word!

    SQLRNNR (7/28/2015)


    eccentricDBA (7/28/2015)


    Generation X

    Generation Entitled

    Demanding

  • RE: Query Optimiser not using optimum Index

    Quick thought, you aren't giving the optimizer much to go on here, using a table value function to populate a table variable which by the way doesn't have any statistics...

  • RE: Deleting child node in XML

    Quick fix adding the "@" to the attribute names;-)

    😎

    set@cropXML.modify('

    delete (/Crop/Varieties/Variety[@Id=sql:variable("@varietyid")]/SoilTypes/SoilType/YieldGoals/YieldGoal[@Id=sql:variable("@yieldid")]/Stages/Stage[@Id=sql:variable("@StageId")])[1]

    ');

  • RE: Today's Random Word!

    SQLRNNR (7/28/2015)


    Luis Cazares (7/28/2015)


    eccentricDBA (7/28/2015)


    Ray K (7/28/2015)


    DonlSimpson (7/28/2015)


    SQLRNNR (7/28/2015)


    TomThomson (7/27/2015)


    SQLRNNR (7/27/2015)


    Revenant (7/27/2015)


    Ray K (7/27/2015)


    DonlSimpson (7/26/2015)


    TomThomson (7/25/2015)


    SQLRNNR (7/25/2015)


    outre-mer

    ultramar

    Montreal

    Expos

    Nationals

    GNATS

    Bites

    Bytes

    Reality

    fantasy

    Final

    Countdown

    T - 10

    Parachute

  • RE: Is Skynet Coming?

    Given that humans have taken 200.000 years to become as stupid as they are and that computers do things much faster than humans, we (humans) should be afraid, very afraid:-D

    😎

  • RE: How different OLAP vs Dimensional Modeling? Can any one explain

    r.dilliprasad (7/28/2015)


    please help on this!!!

    I think you have to rephrase this question, online analytical processing/olap is an approach to mda or multi dimensional analytics, which dimensional modelling is an integral...

  • RE: Select records start with %

    thbaig (7/28/2015)


    thank you Eirikur Eiriksson

    You are very welcome!

    😎

    I just improved the code sample to demonstrate that query will use index seek if the proper index is in place.

  • RE: Select records start with %

    thbaig (7/28/2015)


    Hi,

    I need to select records in column that start with '% ' -- %space e.g. column A = % mytest

    I tried select column name with like operator but it...

  • RE: T-SQL interview Questions

    GilaMonster (7/28/2015)


    Eirikur Eiriksson (7/27/2015)


    Although "theoretically" this is right, one cannot endorse the use of @@ROWCOUNT in that way, too many gaps and exceptions.

    😎

    What gaps and exceptions, other than a trigger?

    Simple...

  • RE: Are the posted questions getting worse?

    Brandie Tarvin (7/27/2015)


    Eirikur Eiriksson (7/27/2015)


    Brandie Tarvin (7/27/2015)


    SQLRNNR (7/27/2015)


    Brandie Tarvin (7/27/2015)


    Pseudo-simple

    Wow. Even on The Thread I am having the learning of the stuff. I've never heard of this until today.

    Thanks for...

Viewing 15 posts - 4,846 through 4,860 (of 8,761 total)