The left bracket "[" and right bracket "]" are not part of the syntax and need to be removed. They are used in the documentation to indicate optional syntax. Please see the example below that uses a different schema and different tablespace and also assumes that you have a partitioned table and an appropriate entry in user_sdo_geom_metadata.