Still returns zero rows.

Josh

-----Original Message-----
From: Tony Weeg [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002 8:38 AM
To: CF-Talk
Subject: RE: SQL HELP


first of all I don't think you need the first ()

try this.

SELECT     *
FROM         temptblJOBEVL
WHERE     SYS_EMP_ID_NR NOT IN
                          (SELECT     emp_id_nr
                            FROM          tblemployee)

.tony

Tony Weeg
Senior Web Developer
Information System Design
Navtrak, Inc.
Fleet Management Solutions
www.navtrak.net
410.548.2337


-----Original Message-----
From: Joshua Tipton [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002 8:40 AM
To: CF-Talk
Subject: SQL HELP


For some unknown reason this query does not work correctly even though I
know that there is data in temptbljobevl that does not match tblemployee
data.  Can someone please help me do this via a join.


Thanks,

Joshua Tipton

SELECT     *
FROM         temptblJOBEVL
WHERE     (SYS_EMP_ID_NR NOT IN
                          (SELECT     emp_id_nr
                            FROM          tblemployee))



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Reply via email to