You are here: Re: [PHP] SQL - INSERT INTO booleans « PHP « IT news, forums, messages
Re: [PHP] SQL - INSERT INTO booleans

Posted by Richard Lynch on 01/20/05 01:03

Tim Burgan wrote:
> I am continually getting a data type mismatch error (relating to the
> boolean columns) when trying to execute this code.
>
> I've tried removing the single quotes, but that returns a syntax error.

I've forgotten the rules for MS-Access, but...

Perhaps try 1 and 0 as your bool, with no apostprophes.

I really would have expected the true/false with no apostrophes to work
myself...

You could try to build a sample query in Access itself, using that damn
GUI thingie they have, which always just confused me personally, to see
what Microsoft thinks is proper SQL -- Not that it really *IS* proper SQL,
but at least it will work with Access, hopefully.

--
Like Music?
http://l-i-e.com/artists.htm

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация