Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MySQL++ - Programming with the C++ API to MySQL
MaxDB - Everything about MaxDB, formerly known as SAP DB
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
Subject: mysql openssl Question
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
Update one field with more fields from another table
Subject: Getting Identity after INSERT
ERROR 2002: Can 't connect to local MySQL server through socket
mysql test 4 1 fails with the gis test
Subject: MySQL Cluster Software
Downgrade Mysql from 4 to 3 23
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Can 't access mysql after kernel upgrade
Executing MySQL Commands From Within C Program
Comparing and writing out BLOBS
Subject: Re: Preventing Duplicate Entries
FULLTEXT query format question
Strange behavior, Table Level Permission
Does the binary log enabling affect the MySQL performances?
mysql:it 's a db not a dbms how it 's possible?!
mysql have same function mthod as Oracle decode()
 
Subject: ODBC danish windows inserting wrong boolean.

Subject: ODBC danish windows inserting wrong boolean.

2007-08-21       - By Linda Pedersen

 Back

I just reinstalled my pc its running danish win xp as it was before.

My application is in VB6 it connects to mysql on the same pc using myodbc.  
All this worked fine before the new install.

now im getting the following error:

SQL MSG:[MYDB.EXECUTE_CMD] (-2147217900) [MySQL][ODBC 3.51
Driver][mysqld-5 (See http://qld-5.ora-code.com).0.45-community-nt]Unknown column 'Falsk' in 'field
list'
SQL ERROR:insert into que
(action,commands,que_id,sandbox,comment,requested_by,submited) values
('NPC','\"Count\"
Ungula',18285,Falsk,'NPC_requests:18285','Laurlybot',now())

If i print out the variable in visual basic it says its "false" yet
when it tryst to insert it into the database it uses the word "falsk"
which in danish is "false"  how do i get it to use the English spelling?  This
is probably has to do with why i cant insert dates into the database either as
it trys to use the danish format (DD-MM-YYYY) for those by default instead of
mysqls default of YYYY-MM-DD.My application is rather large and i would rather
not have to change all the boolean variables to something like tinyint storing
1 and 0.Thanks Linda
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __
Make every IM count. Download Windows Live Messenger and join the i?m
Initiative now. It?s free.?
http://im.live.com/messenger/im/home/?source=TAGWL_June07