Forum Replies Created

Viewing 15 posts - 4,171 through 4,185 (of 26,490 total)

  • RE: the use of CTEs

    Sergiy (1/6/2016)


    Lynn Pettis (1/6/2016)


    Same could be said if you populate temporary tables with the results of a complex query and then use that table in another query. You have...

  • RE: the use of CTEs

    erics44 (1/6/2016)


    Sergiy (1/6/2016)


    jaime.simancas 27970 (1/6/2016)


    but CTEs have their place in making these "Sets" easier to read..

    Very questionable. Very.

    CTE's break the structure of Structured Query Language, moving part of FROM effectively...

  • RE: How to stop the Winzip prompt showing when executing Exec process Task in SSIS

    Matt Miller (#4) (1/6/2016)


    The official documentation is here:

    http://kb.winzip.com/kb/entry/125/

    Making it easier for others:

    http://kb.winzip.com/kb/entry/125/

  • RE: Are the posted questions getting worse?

    Phil Parkin (1/6/2016)


    Alvin Ramard (1/6/2016)


    Jeff Moden (1/6/2016)


    Brandie Tarvin (1/6/2016)


    djj (1/5/2016)


    SQLBill (1/5/2016)


    If I hear of any openings anywhere that allow full work from home, I'll pass them your way.

    -SQLBill

    There all over...

  • RE: Are the posted questions getting worse?

    Reminds me of an issue with an application I helped support at a previous employer. For years there was an intermittent problem where when a sales person converted a...

  • RE: Using Top 1 in scalar-valued User defined function (UDF)

    Spoiler alert, I think this works as the itvf. No tables or data to test against. Only issue I have is not being able to identify which table...

  • RE: the use of CTEs

    One thing that would be nice is if Microsoft implemented CTEs more like the way Oracle implemented their sub-query refactoring clause. Oracle can treat the sub-query refactoring clause as...

  • RE: the use of CTEs

    jaime.simancas 27970 (1/6/2016)


    erics44 (1/6/2016)


    below86 (1/6/2016)


    I've had to work with a group of contractors for over a year now, and I find their use of CTE's to be excessive, and as...

  • RE: the use of CTEs

    Sergiy (1/5/2016)


    The fact is - CTE is a foreign construction in SQL.

    It was copied to T-SQL from front end languages to create more comfortable environment for those ".Net developers with...

  • RE: Fantasy Football 2016

    SQLDCH (1/5/2016)


    I'd really prefer to stick with our current scoring. I'm not a fan of FLEX positions or PPR leagues. But, if the majority out votes me, I'll...

  • RE: Fantasy Football 2016

    Count me in for another year.

  • RE: Happy New Year 2016

    Wayne West (1/4/2016)


    There's some gaps that have developed in my knowledge of T-SQL that I need to fill in. I'd like to work on that and also on re-learning...

  • RE: It's the end of the year

    Good question. Just one minor thing, I'd use the following the end of the calendar year:

    SELECT DATEADD(DAY, -1, DATEADD(YEAR, DATEDIFF(YEAR, 0, GETDATE()) + 1, 0));

  • RE: the use of CTEs

    The interesting part, all three updates resolve to the same execution plan. Three different ways to tell SQL Server the WHAT you want but it all comes down to...

  • RE: the use of CTEs

    Alan.B (1/4/2016)


    erics44 (1/4/2016)


    Alan.B (1/4/2016)


    Except for recursive CTEs, CTEs and Subqueries are basically the same thing. I prefer CTEs for a couple things:

    First, for nested queries. CTEs make nested queries much...

Viewing 15 posts - 4,171 through 4,185 (of 26,490 total)