Forum Replies Created

Viewing 15 posts - 76 through 90 (of 2,462 total)

  • RE: Using Computed Columns

    Good article and great topic. I'm a big fan of computed columns so it's nice to see a detailed article on the topic. I would warn, however, against using a...

    "I cant stress enough the importance of switching from a sequential files mindset to set-based thinking. After you make the switch, you can spend your time tuning and optimizing your queries instead of maintaining lengthy, poor-performing code."

    -- Itzik Ben-Gan 2001

  • RE: Nasty Fast N-Grams (Part 1): Character-Level Unigrams

    "I cant stress enough the importance of switching from a sequential files mindset to set-based thinking. After you make the switch, you can spend your time tuning and optimizing your queries instead of maintaining lengthy, poor-performing code."

    -- Itzik Ben-Gan 2001

  • RE: Sort already comma separated list

    Jeff Moden - Friday, February 8, 2019 3:27 PM

    Alan.B - Friday, February 8, 2019 2:49 PM
    "I cant stress enough the importance of switching from a sequential files mindset to set-based thinking. After you make the switch, you can spend your time tuning and optimizing your queries instead of maintaining lengthy, poor-performing code."

    -- Itzik Ben-Gan 2001

  • RE: Find and replace third occurrence of the string

    saravanatn - Monday, February 11, 2019 10:09 AM

    Alan.B - Monday, October 22, 2018 3:19 PM

    Just...

    "I cant stress enough the importance of switching from a sequential files mindset to set-based thinking. After you make the switch, you can spend your time tuning and optimizing your queries instead of maintaining lengthy, poor-performing code."

    -- Itzik Ben-Gan 2001

  • RE: Sort already comma separated list

    Jeff Moden - Friday, February 8, 2019 2:09 PM

    jcelko212 32090 - Friday, February 8, 2019 2:04 PM

    "I cant stress enough the importance of switching from a sequential files mindset to set-based thinking. After you make the switch, you can spend your time tuning and optimizing your queries instead of maintaining lengthy, poor-performing code."

    -- Itzik Ben-Gan 2001

  • RE: Sort already comma separated list

    Jeffrey Williams 3188 - Tuesday, February 5, 2019 12:32 PM

    Jonathan AC Roberts - Wednesday, January 30, 2019...

    "I cant stress enough the importance of switching from a sequential files mindset to set-based thinking. After you make the switch, you can spend your time tuning and optimizing your queries instead of maintaining lengthy, poor-performing code."

    -- Itzik Ben-Gan 2001

  • RE: Any video courses that teach Execution Plans?

    jacob.saugmann - Tuesday, February 5, 2019 10:42 AM

    Hi

    Brent Ozar has a few videoes about the subject https://www.brentozar.com/training/statistics-sql-servers-guessing-game/10-execution-plans-made-10m/ 

    In my opinion the Book written...

    "I cant stress enough the importance of switching from a sequential files mindset to set-based thinking. After you make the switch, you can spend your time tuning and optimizing your queries instead of maintaining lengthy, poor-performing code."

    -- Itzik Ben-Gan 2001

  • RE: What it means to atomize values in 1st normal form

    michael.leach2015 - Monday, February 4, 2019 10:50 PM

    Sue_H - Monday, February 4, 2019 9:29 PM

    "I cant stress enough the importance of switching from a sequential files mindset to set-based thinking. After you make the switch, you can spend your time tuning and optimizing your queries instead of maintaining lengthy, poor-performing code."

    -- Itzik Ben-Gan 2001

  • RE: Sort already comma separated list

    PSB - Wednesday, January 30, 2019 7:44 AM

    Hi

    I have values like this in a column which basically is the exact same thing...

    "I cant stress enough the importance of switching from a sequential files mindset to set-based thinking. After you make the switch, you can spend your time tuning and optimizing your queries instead of maintaining lengthy, poor-performing code."

    -- Itzik Ben-Gan 2001

  • RE: Number of employees active per date

    I dont know what table tally is.

    You will after reading this: The "Numbers" or "Tally" Table: What it is and how it replaces a loop

    "I cant stress enough the importance of switching from a sequential files mindset to set-based thinking. After you make the switch, you can spend your time tuning and optimizing your queries instead of maintaining lengthy, poor-performing code."

    -- Itzik Ben-Gan 2001

  • RE: SQL Assignment - Join 2 Tables

    I'm doing a lot of guessing here; moving forward - DDL and sample data will help you get the best answer.  Let's start with this:

    USE tempdb

    "I cant stress enough the importance of switching from a sequential files mindset to set-based thinking. After you make the switch, you can spend your time tuning and optimizing your queries instead of maintaining lengthy, poor-performing code."

    -- Itzik Ben-Gan 2001

  • RE: ssrs 2010 use fx button for inline sql

    Does the reportcurrently use the stored proc or is this a new report? I ask because, if youhave a report that starts with a stored proc but is changed to...

    "I cant stress enough the importance of switching from a sequential files mindset to set-based thinking. After you make the switch, you can spend your time tuning and optimizing your queries instead of maintaining lengthy, poor-performing code."

    -- Itzik Ben-Gan 2001

  • RE: How to split comma separated values stored in XML node and display as individual records Without using function- SQL Server 2012

    Lynn Pettis - Wednesday, December 12, 2018 10:22 AM

    Patchai001 - Wednesday, December 12, 2018 10:12 AM
    "I cant stress enough the importance of switching from a sequential files mindset to set-based thinking. After you make the switch, you can spend your time tuning and optimizing your queries instead of maintaining lengthy, poor-performing code."

    -- Itzik Ben-Gan 2001

  • RE: How to find products commonly purchased together

    This is an fun and interesting problem. If my solution is what you are looking for (or close enough) then I would suggest this index:
    CREATE CLUSTERED INDEX...

    "I cant stress enough the importance of switching from a sequential files mindset to set-based thinking. After you make the switch, you can spend your time tuning and optimizing your queries instead of maintaining lengthy, poor-performing code."

    -- Itzik Ben-Gan 2001

  • RE: Running Concatenation (like running totals)

    etl2016 - Tuesday, October 23, 2018 1:52 PM

    many thanks for the replies.

    The limitations I have is the DB I am working on...

    "I cant stress enough the importance of switching from a sequential files mindset to set-based thinking. After you make the switch, you can spend your time tuning and optimizing your queries instead of maintaining lengthy, poor-performing code."

    -- Itzik Ben-Gan 2001

Viewing 15 posts - 76 through 90 (of 2,462 total)