ColdFusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreColdFusion 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 Dev Shed Forums Sponsor:
  #1  
Old May 19th, 2005, 04:13 AM
andy11983 andy11983 is offline
Newbie wannabe extrodanaire
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: stoke
Posts: 311 andy11983 User rank is Corporal (100 - 500 Reputation Level)andy11983 User rank is Corporal (100 - 500 Reputation Level)andy11983 User rank is Corporal (100 - 500 Reputation Level)andy11983 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 8 h 29 m 30 sec
Reputation Power: 6
finding values from a list

Hi

Can some can person please help me , im trying to get the results of from a pre-defined list - but its not displaying anything.

BElow is my code - can some one tell me where im going wrong please.

Code:
SELECT DATALENGTH(iL.content) AS iFileSize,  i.lowest_node, i.id, i.name, upper(t.status) as status, i.site, segs.title, iL.languageID
 FROM itemText  i 
INNER JOIN itemTextLanguage iL ON i.id = iL.itemID
INNER JOIN site s on i.site = s.code
INNER JOIN tracking t ON iL.trackingID = t.id  
INNER JOIN segments segs  ON i.lowest_node = segs.id  
LEFT OUTER JOIN trackingApproval TA ON iL.trackingID = tA.trackingID 
where i.lowest_node IN (<cfqueryparam value="#filterSegmentlist#" cfsqltype="CF_SQL_INTEGER">)


All help is appreiated

Thanks for your help

Andy

Reply With Quote
  #2  
Old May 19th, 2005, 08:32 AM
kiteless kiteless is offline
Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,661 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 14 h 23 m 22 sec
Reputation Power: 53
I'd say there's something wrong with the join. If you run the query in your SQL analyzer and insert real values instead of the CF variable, does it work?
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian.
How to Post a Question in the Forums

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreColdFusion Development > finding values from a list


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 1 hosted by Hostway