I am trying to create a database view using the SQL statement but I have a coded domain within my data.
How can I display the coded value instead of the code in the View.
This is the statement i use:
SELECT OBJECTID, SURVEY_ID_REF AS 'Survey ID Ref', SAMPLE_NAME AS 'Sample Name', SAMPLE_DESC AS 'Sample Description', SYMBOL AS 'Sample Type', SAMPLING_DATE AS 'Sampling Date', Shape, LAT AS 'Lat', LONG AS 'Long', LOCAL_EASTING AS 'Easting(m)', LOCAL_NORTHING AS 'Northing(m)', PENETRATION AS 'Penetration', RECOVERY AS 'Recovery', SURVEY_NAME AS 'Survey Name', CLIENT_NAME AS 'Client Name', COUNTRY_NAME AS 'Country Name', SURVEY_AREA_NAME AS 'Survey Area Name', SURVEY_PROJECT_GEODESY AS 'Project Geodesy', WATER_DEPTH AS 'Water Depth', FGS_Report_URL AS 'Report URL', FGS_Data_URL AS 'Data URL'
FROM MEI_Geotech_U1.GEOTECHNICAL_SAMPLE
WHERE (COUNTRY_NAME = N'EG')