Forum Replies Created

Viewing 15 posts - 1 through 15 (of 125 total)

  • Reply To: Keeping Unique Aliases

    LOL.  (Not random, alphabetical)  🙂

    5ilverFox
    Consulting DBA / Developer
    South Africa

  • Reply To: Keeping Unique Aliases

    I agree, but I personally don't like multi character aliases.  For me, they clutter the code and make it less readable.  I like to name them a,b,c,d... and that makes...

    5ilverFox
    Consulting DBA / Developer
    South Africa

  • Reply To: Introduction to STRING_SPLIT function in SQL

    The same as yours, just with a function, because that was what he was using.

    5ilverFox
    Consulting DBA / Developer
    South Africa

  • Reply To: Introduction to STRING_SPLIT function in SQL

    Not quite. Something much simpler:

    My Test Code:

    SELECT 'RCX_M01_SMD 1.0.6 ' AS AppVersion INTO #Temp

    INSERT INTO #Temp SELECT 'RCX_D00_BackOffice 7.2.1.0'

    INSERT INTO #Temp SELECT 'RCX_I04_OLAP 2.0.0.0 [2.0.0.5]'

    INSERT INTO #Temp SELECT 'RCX_X02_MOB 10.6.2.3'

    SELECT...

    5ilverFox
    Consulting DBA / Developer
    South Africa

  • Reply To: Introduction to STRING_SPLIT function in SQL

    This looks like an overkill to me. It is another help to people to understand STRING_SPLIT, but in your scenario I would use INSTR to get the positions of the...

    5ilverFox
    Consulting DBA / Developer
    South Africa

  • Reply To: Staying Active

    "I’m more than a little tubby"  You hide it well. 🙂

    But I would like say: If you want to lose weight, 1st eat less, 2nd exercise.

    5ilverFox
    Consulting DBA / Developer
    South Africa

  • Reply To: Collections

    Ok, let's say you have a system with 10 roles for security access. You could put the role number in X and a 1 or 0 in Y to represent...

    5ilverFox
    Consulting DBA / Developer
    South Africa

  • Reply To: Using a Surrogate vs Natural Key

    Using the Employee table as an example: What if you need to have an unique index on the social security number to prevent duplicates.  Would that not mute everything?  (As...

    5ilverFox
    Consulting DBA / Developer
    South Africa

  • Reply To: Printing the String

    Hmmm, that would still not make sense. Why would you want your own name displayed during debugging?  Don't know your own name? 🙂

    5ilverFox
    Consulting DBA / Developer
    South Africa

  • Reply To: Printing the String

    Does it make sense to put USER_NAME() in the script?  I think no and that is why 31% picked the second answer. 🙂

    5ilverFox
    Consulting DBA / Developer
    South Africa

  • Reply To: SQL Update Statement Awareness

    I understand Owen's intent, but the BIG lesson here is that you should think twice when running an update statement without a where clause. 🙂

    5ilverFox
    Consulting DBA / Developer
    South Africa

  • RE: The Lost Time

    I agree.

    5ilverFox
    Consulting DBA / Developer
    South Africa

  • RE: Synonyms

    richardmgreen1 - Monday, January 7, 2019 3:10 AM

    We use synonyms to point between our test and production 3-rd party databases.
    It helps when...

    5ilverFox
    Consulting DBA / Developer
    South Africa

  • RE: Finding the Percentage

    Should the first COUNT not be a SUM?

    5ilverFox
    Consulting DBA / Developer
    South Africa

  • RE: Using Tools That Fit

    mfagan12 - Wednesday, October 17, 2018 8:35 AM

     I know I don't need to go with 3 monitors but I'm still trying to...

    5ilverFox
    Consulting DBA / Developer
    South Africa

Viewing 15 posts - 1 through 15 (of 125 total)