MySQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMySQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old November 6th, 2002, 04:23 PM
all1234 all1234 is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: CA
Posts: 2 all1234 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Lightbulb Need Help in Mysql and ASP

Hi
I am heaving problem to exerting data from MYSQL using ASP. I want to extract data from three tables, one field from each table, which does not work. This is the sql statement

SELECT table1.field1, table2.field2, table3.field3
FROM table1 INNER JOIN (table2 INNER JOIN table3 ON table2.field4 = table3.field4) ON table1.field5 = table3.field5

Please advice me
Thank you

Reply With Quote
  #2  
Old November 6th, 2002, 05:41 PM
wAr-AnGeL wAr-AnGeL is offline
Forum Security
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Behind You
Posts: 479 wAr-AnGeL User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m
Reputation Power: 7
Send a message via ICQ to wAr-AnGeL Send a message via AIM to wAr-AnGeL
im a newbie but I didnt know ASP could interface with MySQL?
__________________




"Only Linux users see the end of crashes."
- Pl4t0

Reply With Quote
  #3  
Old November 18th, 2002, 06:22 AM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 6 m 11 sec
Reputation Power: 8
Send a message via ICQ to stumpy Send a message via MSN to stumpy
mysql issues

Whats the error your are getting all1234? Is it a SQL error?

There are no major problems when it comes to using MySQL w/ ASP as there is an ODBC driver for it. In fact, there aren't a great deal of DB's that you can't use with ASP. Personally, I've used postGresSQL, MySQL, SQLServer, Oracle (on Linux & Windows) and Access all on commercial projects... they're all pretty much the same - i.e. SQL is SQL is SQL. (apart from a few minor syntactical differences.)

Try your query from the MySQL command-line interface. If it works, then there is a problem w/ your ASP. Simple.

stumpy.

Reply With Quote
  #4  
Old November 18th, 2002, 02:17 PM
all1234 all1234 is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: CA
Posts: 2 all1234 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Well I solved this problem. That was SQL syntax error. Because lower MYSQL version does not support INNER JOIN but newer version does. So instead of INNER JOIN I used WHERE AND in SQL statement. Which solved every thing

Thanks to all for trying

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMySQL Development > Need Help in Mysql and ASP


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

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five &quot;checkpoints&quot; for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

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





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