You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My table uses special characters and upper case for column names, and I unable to create sql view with the following command;
CREATE VIEW odk_prod.newlayer AS (SELECT "_URI", "LOCATION_LNG", "LOCATION_LAT", ST_SetSRID(ST_MakePoint("LOCATION_LNG", "LOCATION_LAT"),4326) FROM odk_prod."BIMARI_CORE");
Is there a way to directly create a view as shown above ?
Right now I need to rename the column name to lower case as below
CREATE VIEW public.odk_niroshan_newlayer AS (SELECT "_URI" as uri, "LOCATION_LNG" as long, "LOCATION_LAT" as lat, ST_SetSRID(ST_MakePoint("LOCATION_LNG", "LOCATION_LAT"),4326) as wkb_geometry FROM public.bimari);
The text was updated successfully, but these errors were encountered:
My table uses special characters and upper case for column names, and I unable to create sql view with the following command;
CREATE VIEW odk_prod.newlayer AS (SELECT "_URI", "LOCATION_LNG", "LOCATION_LAT", ST_SetSRID(ST_MakePoint("LOCATION_LNG", "LOCATION_LAT"),4326) FROM odk_prod."BIMARI_CORE");
Is there a way to directly create a view as shown above ?
Right now I need to rename the column name to lower case as below
CREATE VIEW public.odk_niroshan_newlayer AS (SELECT "_URI" as uri, "LOCATION_LNG" as long, "LOCATION_LAT" as lat, ST_SetSRID(ST_MakePoint("LOCATION_LNG", "LOCATION_LAT"),4326) as wkb_geometry FROM public.bimari);
The text was updated successfully, but these errors were encountered: