Re: Select record by ID
| From: | Larry Garfield | Date: | Tue, 30 Jan 2007 01:43:46 +0000 |
| Subject: | Re: Select record by ID | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-247994@lists.php.net to get a copy of this message | ||
On Monday 29 January 2007 7:19 pm, Richard Lynch wrote:
> Looks like PostgreSQL caved in to the unwashed masses of MySQL users
> who couldn't handle not putting apostrophes around everything to me...
> [sigh]
>
> :-) :-) :-)
>
> Oh well.
>
> I personally would prefer that the DB not accept bogus input like this.
>
> Different strokes for different folks.
Different strokes indeed. Personally I'd much rather one be able to just
say "quote a literal, dagnabbit" and not worry about whether it was a string
or an int. I'm sure there's some reason for it deep in the bowels of SQL
engines as they existed in the early '80s, but for anyone trying to not
hand-write every frickin' SQL query and automate common tasks it makes life
considerably more annoying.
--
Larry Garfield AIM: LOLG42
larry@garfieldtech.com ICQ: 6817012
"If nature has made any one thing less susceptible than all others of
exclusive property, it is the action of the thinking power called an idea,
which an individual may exclusively possess as long as he keeps it to
himself; but the moment it is divulged, it forces itself into the possession
of every one, and the receiver cannot dispossess himself of it." -- Thomas
Jefferson