Viewing profile — regexman1
regexman1
HN member- Joined
- Wed, Sep 25, 2024, 4:19 AM UTC
- HN karma
- 108
- Public activity
- 16 items
- HN profile
- View on Hacker News ↗
About regexman1
No profile information was provided.
Recent public activity
-
comment
Comment #49449800
Brilliant
- story
-
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…
-
comment
Comment #41664669
I've amended the README.md to explain what I meant. My error was in using the word dynamic!
-
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…
- story
-
comment
Comment #41647187
That's right - it's just a quicker way of being able to comment/uncomment conditions when doing EDA or debugging.
-
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!
-
comment
Comment #41644417
Fair point!
-
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 …
-
comment
Comment #41644203
That's a totally valid point haha.
-
comment
Comment #41644200
I didn't realise that, great to know. Thanks!
- comment
-
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.
- comment
- story