Skip navigation links
Articles
Mike Hillyer: Visual Basic / MySQL Datatypes
Add to My Link Library +0 Vote Up -0Vote Down
Visual Basic can be very loose with it's data types. If you want to avoid worrying about which type of data is coming from your database, you can simply not specify a datatype when you declare a variable, which defaults the datatype to variant. The variant should be avoided whenever possible, as it can be very CPU and memory intensive. This article demonstrates the different MySQL and VB6 datatypes and how they correlate. (2004-01-22)


Report this link: