I'm not sure what ANSI_SQL is, but this is the only SQL forum I found on Tek Tips. If there is a better forum for this question, please let me know.
Here is my problem. I have two tables. One is called Images and one is called Text and I want to join them. I am calling SQL from an ASP page. The database is a MS Access database. This is the command I use
SELECT * FROM Images, Text WHERE Images.Text = Text.textID AND Images.imgID = 5
I get this error:
Syntax error in FROM clause.
/wages2/getimages.asp, line 16
I don't see anything wrong with my SQL statement. It looks exactly like the one in this tutorial:
I also tried using INNER JOIN, LEFT JOIN, and RIGHT JOIN and none of those worked either. Only thing I can think of is perhaps my SQL is different from the SQL that the tutorial is talking about.
Any help will be greatly appreciated, thanks!
~jimmy.
Here is my problem. I have two tables. One is called Images and one is called Text and I want to join them. I am calling SQL from an ASP page. The database is a MS Access database. This is the command I use
SELECT * FROM Images, Text WHERE Images.Text = Text.textID AND Images.imgID = 5
I get this error:
Syntax error in FROM clause.
/wages2/getimages.asp, line 16
I don't see anything wrong with my SQL statement. It looks exactly like the one in this tutorial:
I also tried using INNER JOIN, LEFT JOIN, and RIGHT JOIN and none of those worked either. Only thing I can think of is perhaps my SQL is different from the SQL that the tutorial is talking about.
Any help will be greatly appreciated, thanks!
~jimmy.