Last active
January 14, 2021 16:29
-
-
Save vmleon/8e5fd50ca04cb5778e54e2989e7fa982 to your computer and use it in GitHub Desktop.
Oracle Spatial Example: Warehouses and Branches, alter statements
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ALTER TABLE WAREHOUSES ADD (GEOMETRY SDO_GEOMETRY); | |
ALTER TABLE BRANCHES ADD (GEOMETRY SDO_GEOMETRY); | |
UPDATE WAREHOUSES SET | |
GEOMETRY = SDO_GEOMETRY(2001, 4326, SDO_POINT_TYPE(LON, LAT, NULL), NULL, NULL); | |
UPDATE BRANCHES SET | |
GEOMETRY = SDO_GEOMETRY(2001, 4326, SDO_POINT_TYPE(LON, LAT, NULL), NULL, NULL); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add compact formatting