|
-
Apr 14th, 2005, 08:25 AM
#1
Thread Starter
Addicted Member
SQL left join and is null problem
i have the folowing query
Select *
From PensiaNew right join GemelNew
ON PensiaNew.Col002 = GemelNew.Col002
WHERE ISNULL(PensiaNew.Col001)
and get the folowing error
"The isnull function requires 2 arguments"
what 2 arguments should i insert into the isnull function in order that i wont see the null fields????
-
Apr 14th, 2005, 08:34 AM
#2
Re: SQL left join and is null problem
First: The value that SHOULD be returned if it's null. ISNULL(columnname, 'something')
Second, your syntax is wrong.
Select *
From PensiaNew right join GemelNew
ON PensiaNew.Col002 = GemelNew.Col002
WHERE PensiaNew.Col001 = NULL
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|