Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
edroche
on Feb 15, 2021
|
parent
|
context
|
favorite
| on:
Why SELECT * is bad for SQL performance (2020)
I've always wondered why SQL didn't have something like an EXCLUDE clause to make this easier for tables with lots of columns where you wanted a large number of them in the result. Something like (table with columns a through z):
SELECT * EXCLUDE g, m, p, x FROM table
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
SELECT * EXCLUDE g, m, p, x FROM table