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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Force a Null return

Status
Not open for further replies.

PGMR1998

MIS
Apr 10, 2001
29
0
0
US
How do i make the field PrjMgr return null values?

select AgencyId
,ControlNumber
,ISNULL(LLA_AUDITS.PrjMgr,Projects.PrjMgr) as PrjMgr
 
Any chance you could elaborate ?

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
i want the return column PrjMgr to contain all nulls.
 
Do you perhaps mean
[tt]
SELECT AgencyId
,ControlNumber
,CAST(NULL AS integer) AS PrjMgr
FROM sometable[/tt]

Will return nothing but NULLs in the PrjMgr column.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top