Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 isnull HELP PLEASE

Author  Topic 

jennypretty
Yak Posting Veteran

96 Posts

Posted - 2005-04-13 : 09:50:55
HELLO FRIENDS,
I am trying to convert any NULL to "other" but it keeps saying "Invalid column name 'Other'.
This is what I did:
select IsNull(emp.name, other)
from emp;

can you help please?
thanks,
Jenny.

The stupid question is the question you don't ask.
www.single123.com

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2005-04-13 : 10:07:16
select IsNull(emp.name, 'other') from emp


Go with the flow & have fun! Else fight the flow
Go to Top of Page

jennypretty
Yak Posting Veteran

96 Posts

Posted - 2005-04-13 : 10:16:19
Thanks, Spirit.
Jenny.

The stupid question is the question you don't ask.
www.single123.com
Go to Top of Page
   

- Advertisement -