SunQuest
           Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherBeginner Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old September 3rd, 2001, 03:55 AM
imperatec imperatec is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: Horhsam
Posts: 4 imperatec User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Angry SHOW COLUMNS statement not working .. HELP

Help !

I am trying to build a TREE in VB of a MySQL Database.

So far I can get the Database Names by sing the SQL statement "SHOW DATABASES".

From there I can show the tables in the selected database by using the SQL statement "SHOW Tables"

It all goes a bit pear shapred from there. When I then use the "SHOW COLUMNS FROM [TableName]" or the "SHOW COLUMNS FROM [TableName] from [DatabaseName]" I get an error:

Data provider or other service returned an E_FAIL status

With an error number -2147467259

I would be very greatful is anyone can shed some light on this as I am pulling my hair out at the moment !

It only seems to happen if the NULL setting of a field is set to YES. if the table has no fields with this property it works ok .... Weird !

Last edited by imperatec : September 3rd, 2001 at 03:58 AM.

Reply With Quote
  #2  
Old September 4th, 2001, 10:40 AM
Theeggman Theeggman is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Posts: 266 Theeggman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 30 m 33 sec
Reputation Power: 8
You can view the column names and information with the command:

desc tablename;

E.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > SHOW COLUMNS statement not working .. HELP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway