Forum Replies Created

Viewing 15 posts - 196 through 210 (of 2,458 total)

  • RE: SQL Server 2017

    Thom A - Thursday, September 28, 2017 11:36 AM

    sqlfriends - Thursday, September 28, 2017 11:22 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: Using Code Snippets in SSMS

    SQLvis - Monday, December 19, 2016 7:43 PM

    Have you tried directly adding your folders under:C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\ManagementStudio\SQL\Snippets\1033I would also assume...

    "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: Are the posted questions getting worse?

    Tom_Hogan - Monday, September 25, 2017 12:29 PM

    According to the asterisk, SQL Server 2017 will be available for download on October 2nd.

    "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: Hierarchy in a Fact table - Referring to itself

    You are all over the place here. As xsevensinzx said, some examples/visuals would be helpful. Also, a better explanation of what you mean by, "Up until now, we used 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: How to encrypt Credit Card numbers?

    NEVER be so as to STUPID say "Before I will start Google.."; This just ended your care\er because anyone hires you, they will see this posting and know.

    Everyone...

    "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: Are the posted questions getting worse?

    SQL Server is so weird sometimes. 

    select 'a'+++++++++++++++++++++++'b'++++++++++++++++++++++++'c'
    returns abc.

    "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: Year to date calculation

    I don't fully understand the req but here's some sample data and some t-sql code which might point you in the right direction. 

    -- sample data
    declare @order...

    "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: ? on Parsing an XML field

    Eirikur Eiriksson - Monday, September 18, 2017 10:25 PM

    Here is something to get you started
    😎

    USE TEEST;
    GO
    SET NOCOUNT ON;

    DECLARE @TXML...

    "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: remove spaces in strings

    As drew said, you are likely dealing with a non-space whitespace character; what Luis posted will help you identify what that character is. 

    This can easily be resolved using...

    "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: comma separated values

    Expanding on Jeff's comments - this is one of those things that's worth understanding as FOR XML can be a complicated topic. Wayne Sheffield's article, Creating a comma-separated...

    "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: If you weren't a DBA, what would you be doing?

    I'm not a DBA anymore (SQL Developer.)  In high school I was studying to be an artist but chickened out only because of fear that I would not make any...

    "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: Replace the first charatcer in a String

    Phil Parkin - Thursday, September 7, 2017 10:46 AM

    anand08sharma - Thursday, September 7, 2017 10:38 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 SSIS MetaData information ?

    Phil Parkin - Wednesday, August 30, 2017 2:01 PM

    Hi Alan
    Not related to this thread at all, but I just noticed that you...

    "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 SSIS MetaData information ?

    subratnayak09 - Wednesday, August 30, 2017 7:58 AM

    subratnayak09 - Tuesday, August 29, 2017 7:46 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: SQL 2008 - Extract parts of a string

    DiabloSlayer - Thursday, August 24, 2017 2:09 PM

    Alan.B - Wednesday, August 23, 2017 7:33 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

Viewing 15 posts - 196 through 210 (of 2,458 total)