Cause
The length of the SDO_CODE column in the <layer>_SDOINDEX table could not be determined.
The length of the SDO_CODE column in the <layer>_SDOINDEX table could not be determined.
Make sure that the <layer>_SDOINDEX table exists with the SDO_CODE column. Verify that the appropriate privileges exist on the table. Then retry the operation.
Try the following links for this error:
http://docs.oracle.com/cd/E16655_01/server.121/e26079/e12700.htm
Browse all solutions to database errors from Oracle, MS SQL, or MySQL