I'm create a SQL Definition Query for a layer based on the coordinates of a polygon. The code below is not being accepted, and I can't determine why.
SHAPE.STWithin(geometry::STGeomFromText(POLYGON((139.6668830518439 35.46069824948353,139.6668830518439 35.515095998135905,139.73836302034738 35.515095998135905,139.73836302034738 35.46069824948353))',4326))
First thing to check is you have an unmatched apostrophe.