.NETGURU
odbc.net and MySQL
Messages   Related Types
This message was discovered on ASPFriends.com 'ngfx-odbc' list.


Jay Chapman
-- Copied from [aspngdata] to [ngfx-odbc] by Charles M. Carroll <Click here to reveal e-mail address> --Hey guys-I am trying to work with mySQL and vb.NET using the odbc.net managedprovider and the myODBC driver. It works great until I try to do somethingwith data that has fields with null values in them (a "NO_DATA" erroroccurs).Please no posts about why mySQL should not be used and such... I really donot have the power to make such decisions... I am just trying to make whatwas given to me work... If anyone can point me in the right direction, Iwould appreciate it.Jay ChapmanBCA Technologies, Inc.407.659.0653 Click here to reveal e-mail address---Outgoing mail is certified Virus Free.Checked by AVG anti-virus system (http://www.grisoft.com).Version: 6.0.317 / Virus Database: 176 - Release Date: 1/21/2002
Reply to this message...
 
    
Daniel Naumann
Hi Jay,

I'm not sure about the ODBC.NET RTM, but the ODBC.NET Beta1 had this problem with empty strings.
The only solutions we've found was to write a script that when through the DB and checked every
table for char/vchar/datetime columns and changed the empty strings to a space........ Not a
elegant solutions I know, but the only one we knew that worked.

Daniel.

-----Original Message-----
From: Jay Chapman [mailto:Click here to reveal e-mail address]
Sent: 29-Jan-2002 03:33
To: ngfx-odbc
Subject: [ngfx-odbc] odbc.net and MySQL

-- Copied from [aspngdata] to [ngfx-odbc] by Charles M. Carroll <Click here to reveal e-mail address> --

Hey guys-

I am trying to work with mySQL and vb.NET using the odbc.net managed
provider and the myODBC driver. It works great until I try to do something
with data that has fields with null values in them (a "NO_DATA" error
occurs).

Please no posts about why mySQL should not be used and such... I really do
not have the power to make such decisions... I am just trying to make what
was given to me work... If anyone can point me in the right direction, I
would appreciate it.

Jay Chapman
BCA Technologies, Inc.
407.659.0653 x326
Click here to reveal e-mail address
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.317 / Virus Database: 176 - Release Date: 1/21/2002

| [ngfx-odbc] member Click here to reveal e-mail address = YOUR ID
| http://www.aspfriends.com/aspfriends/ngfx-odbc.asp = JOIN/QUIT

Reply to this message...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification