decode? replace?
 611331Jan 24 2008 — edited Jan 25 2008
611331Jan 24 2008 — edited Jan 25 2008In the current SQL i have:
select	schema_name, created_time,
			case when 
				server_name||'_'||db_name='GBCCCL15/16_CSAHEPA' 
				then DB_PATCH_NUMBER||'v'||VERSION_NUMBER else null end GBCCCL1516_CSAHEPA,
I have created another column called Application_Version. I currently have the DB_Patch_Number and the version_number displaying. I would like to condition the SQL so if both DB_Patch number and version_number are missing then it displays Application_Version instead!.