Re: Select record by ID
| From: | Richard Lynch | Date: | Tue, 30 Jan 2007 02:05:03 +0000 |
| Subject: | Re: Select record by ID | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-248001@lists.php.net to get a copy of this message | ||
On Mon, January 29, 2007 7:43 pm, Larry Garfield wrote:
> 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.
I can see where you are coming from, but if you don't know what data
type you have, and what data type you are using in SQL, you're already
screwed. :-)
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?