Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need help for QUERY...

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
hi i have a problem with converting a SQL command to CF.

what im trying to perform is :

SELECT S.Organization, S.OrganizationURL, S.ShortDescription
FROM SupplierDirectory S, SupplierGeneralCategory
Where S.ID = SupplierGeneralCategory.SupplierID and
SupplierGeneralCategory.GeneralCategory = 'Assessment'

thats the SQL command for it. However no matter how hard i try i can't convert it to CF. i have two tables, i want it to search through SUPPLIERDIRECTORY, and find entries with CATEGORY = assessment (in SupplierGeneralCategory) and show the results.

can anyone translate what i wrote down to pure CF ??


thanks alot,
BB
 
ahhh.... n/m folks !! i got it to work...

SELECT Organization, OrganizationURL, ShortDescription
FROM SupplierDirectory, SupplierGeneralCategory
WHERE GeneralCategory='Assessment' and
SupplierDirectory.ID=SupplierGeneralCategory.SupplierID

:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top