Jan 29, 2008 #1 PGMR1998 MIS Apr 10, 2001 29 US How do i make the field PrjMgr return null values? select AgencyId ,ControlNumber ,ISNULL(LLA_AUDITS.PrjMgr,Projects.PrjMgr) as PrjMgr
How do i make the field PrjMgr return null values? select AgencyId ,ControlNumber ,ISNULL(LLA_AUDITS.PrjMgr,Projects.PrjMgr) as PrjMgr
Jan 29, 2008 #2 PHV MIS Nov 8, 2002 53,708 FR Any chance you could elaborate ? Hope This Helps, PH. FAQ219-2884 FAQ181-2886 Upvote 0 Downvote
Jan 29, 2008 Thread starter #3 PGMR1998 MIS Apr 10, 2001 29 US i want the return column PrjMgr to contain all nulls. Upvote 0 Downvote
Jan 29, 2008 #4 JarlH Programmer Jul 26, 2002 365 SE 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. Upvote 0 Downvote
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.