How Would You Improve SQL? 271
theodp asks: "It was the best of languages, it was the worst of languages. SQL's handy, but it can also drive you nuts. For example, if you want all 100 columns from a table, 'SELECT *' works quite nicely. However, if you want all but 1 of the 100 columns, be prepared to spell out 99 column names. Wouldn't it not make sense to provide a Google-like shorthand notation like 'SELECT * -ColumnName' (or DROP=syntax like SAS)? So how would you improve SQL?"
No poetry (Score:4, Funny)
(yes, well, I ran out of ideas)
Re:ugh... (Score:3, Funny)
Now start inserting and updating.
maybe joining.
yeah -- sql is stupid, sure. But you're proposal here really isn't any brighter.
mind reader (Score:4, Funny)
Is this a test? (Score:2, Funny)
SELECT * FROM table WHERE column !="99";
Did I get the job? Or for that matter DID YOU?
Re:Native Queries / DLING (Score:2, Funny)
This sounds like the fuel for a massive OO-vs-Relational and/or Dynamic-vs-Static typing holy war geek battle. Been in them and seen them rage for 1000+ messages. Batten down the hatches and hide the women and children.
Re:No poetry (Score:5, Funny)
2 row(s) returned.
Re:No poetry (Score:5, Funny)
violets are blue
you just did a Cartesian Product
your DBA will be talking to you
thank you, thank you, shows at 7 and 10, remember to tip the waitstaff
Re:No poetry (Score:3, Funny)
Re:No poetry (Score:3, Funny)
And it's also theoretically impossible to get this far in life without a sense of humor.
I guess we were both wrong.