HighDots Forums  

Simple select

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Simple select in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Alejandro
 
Posts: n/a

Default Simple select - 12-01-2005 , 01:38 PM






What is this statement missing ?

SELECT id FROM Cases WHERE Cases.tempcaselogid = CaseComments.tempcaselogid

I get this error:

Server: Msg 107, Level 16, State 3, Line 1
The column prefix 'CaseComments' does not match with a table name or alias
name used in the query.

I need to use "WHERE" and not a "JOIN"

Aleks



Reply With Quote
  #2  
Old   
bregent
 
Posts: n/a

Default Re: Simple select - 12-01-2005 , 02:19 PM






You need to include all tables (including CaseComments) in your FROM.

Reply With Quote
Reply




Thread Tools
Display Modes

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.