List:General Discussion« Previous MessageNext Message »
From:Martijn Tonies Date:January 11 2006 12:01pm
Subject:BIT datatype and prepared statements
View as plain text  
Hi there,

Still tracking down the BIT problems. For a simple statement, prefixing it
with
b'<binary value>' works (as written in the documentation). Even with the
STRICT
mode turned ON.

However, for prepared statements, how do you bind a BIT(1) or BIT(n)?

This doesn't list BIT at all:
http://dev.mysql.com/doc/refman/5.0/en/c-api-prepared-statement-datatypes.html


Any pointers?


Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, Oracle & MS SQL
Server
Upscene Productions
http://www.upscene.com
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com

Thread
BIT datatype and prepared statementsMartijn Tonies11 Jan
  • Re: BIT datatype and prepared statementsGleb Paharenko11 Jan