I would like some help with this query please. I know it's probably easy, but i can't figure it out.I have this: SELECT audit_proj_id pid ,audit_log_type log_type ,audit_proj_status status ,audit_proj_unique_name project_id ,audit_user_last_name + ', ' + audit_user_first_name resource ,audit_changed date_changedFROM auditFPS
The results are:pid log_type status project_id resource date_changed5004304 OLD Confirmed 39IMP-IMA-BSPPN Giarratani, Ruthann 2008-02-08 11:45:28.3005004304 NEW Complete 39IMP-IMA-BSPPN Giarratani, Ruthann 2008-02-08 11:45:28.300
How would i go about designing the query so that the results are:pid project_id old new resource date_changed5004304 39IMP-IMA-BSPPN Confirmed Complete Giarratani, Ruthann 2008-02-08 11:45:28.300
I can get this by using a UNION, But of course the status is not filled in. pid project_id old new resource date_changed5004304 39IMP-IMA-BSPPN Giarratani, Ruthann 2008-02-08 11:45:28.300
Any help would really be appreciated.ThanksKeri~"I can accept failure, but I can't accept not trying." - Michael Jordan ~