Live data from Hacker News

Viewing profile — regexman1

regexman1

HN member
Joined
Wed, Sep 25, 2024, 4:19 AM UTC
HN karma
108
Public activity
16 items

About regexman1

No profile information was provided.

Recent public activity

  1. comment
    Comment #49449800

    Brilliant

  2. story
  3. comment
    Comment #41717093

    I'm an analyst so I literally only query for analytical purposes. I don't have any SQL code embedded in an application so the 1=1 is purely for tweaking/testing a query more quickl…

  4. comment
    Comment #41664669

    I've amended the README.md to explain what I meant. My error was in using the word dynamic!

  5. comment
    Comment #41664623

    Just to be clear I'm using it for the same reason as trailing commas. If I'm inspecting a dataset I use WHERE 1=1 so I can add and remove conditions more easily. I realise the conf…

  6. story
  7. comment
    Comment #41647187

    That's right - it's just a quicker way of being able to comment/uncomment conditions when doing EDA or debugging.

  8. comment
    Comment #41644482

    Not at all actually, I just hadn't really planned to add this as a tip. Additionally I thought an in-line view was fine for the examples included. But maybe I will!

  9. comment
    Comment #41644417

    Fair point!

  10. comment
    Comment #41644375

    I appreciate the feedback, no offence taken. I'm an analyst so I often find the leading comma useful when I'm testing something and want to quickly comment a column out but I take …

  11. comment
    Comment #41644203

    That's a totally valid point haha.

  12. comment
    Comment #41644200

    I didn't realise that, great to know. Thanks!

  13. comment
  14. comment
    Comment #41644190

    I'll add this as a caveat. I'm an analyst so my SQL isn't really exposed to anyone other than myself and so I wasn't aware of this, thanks for flagging.

  15. comment
  16. story