• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

not null

Guest
Aug 23, 2006 Aug 23, 2006

Copy link to clipboard

Copied

Hi i have this query

<cfquery name="Sho" datasource="test
SELECT Email, ID
FROM Main_Clubs_Data
WHERE Email IS NOT NULL
</cfquery>

i want my output to show all records where email does not = Null

i thought my code was right but my output still shows the records with null in

any ideas
TOPICS
Advanced techniques

Views

244

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 23, 2006 Aug 23, 2006

Copy link to clipboard

Copied

Tey Email <> NULL or NOT Email IS NULL. Also, if you copied and pasted your CFQUERY, you are missing a closing double quote after your datasource name.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 23, 2006 Aug 23, 2006

Copy link to clipboard

Copied

LATEST
change is not null to > ''

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation