SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseSQL Development

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 ASP Free Forums Sponsor:
  #1  
Old October 7th, 2000, 05:56 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 23
sql query ?

<i><b>Originally posted by : mike robb (aspfree@js-examples.com)</b></i><br /><br />I have 2 tables that I would like to query against both with one sql command.<br /><br />this is what i have tried and don't know what to try next (any ideas?)<br /><br />SELECT EX_KEYWORD.EX_ID AND EX_EXAMPLE.EX_ID FROM EX_KEYWORD AND EX_EXAMPLE WHERE EX_KEYWORD.KEYWORD LIKE '%document%' OR EX_EXAMPLE.TITLE LIKE '%document%'<br /><br />TIA! <br /><br /><br />---Mike Robb<br />http://www.js-examples.com

Reply With Quote
  #2  
Old October 10th, 2000, 11:22 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 23
<i><b>Originally posted by : </b></i><br />try using a join. utilize sql view in MS access to get a feel for this.<br /><br /><br />------------<br />mike robb at 10/7/2000 2:56:23 PM<br /><br /><br />I have 2 tables that I would like to query against both with one sql command.<br /><br />this is what i have tried and don't know what to try next (any ideas?)<br /><br />SELECT EX_KEYWORD.EX_ID AND EX_EXAMPLE.EX_ID FROM EX_KEYWORD AND EX_EXAMPLE WHERE EX_KEYWORD.KEYWORD LIKE '%document%' OR EX_EXAMPLE.TITLE LIKE '%document%'<br /><br />TIA! <br /><br /><br />---Mike Robb<br />http://www.js-examples.com

Reply With Quote
  #3  
Old October 10th, 2000, 07:26 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 23
<i><b>Originally posted by : Jeff Coon</b></i><br /> You might also want to try www.sqlcourse.com - a nice online tutorial, and you can play around doing selects on their DB in the page.<br /><br /> - Jeff<br /><br /><br />------------<br /> at 10/10/2000 8:22:12 AM<br /><br />try using a join. utilize sql view in MS access to get a feel for this.<br /><br /><br />------------<br />mike robb at 10/7/2000 2:56:23 PM<br /><br /><br />I have 2 tables that I would like to query against both with one sql command.<br /><br />this is what i have tried and don't know what to try next (any ideas?)<br /><br />SELECT EX_KEYWORD.EX_ID AND EX_EXAMPLE.EX_ID FROM EX_KEYWORD AND EX_EXAMPLE WHERE EX_KEYWORD.KEYWORD LIKE '%document%' OR EX_EXAMPLE.TITLE LIKE '%document%'<br /><br />TIA! <br /><br /><br />---Mike Robb<br />http://www.js-examples.com

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseSQL Development > sql query ?


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 5 hosted by Hostway
Stay green...Green IT