I need for numeric values added to my view (xmin,ymin,xmax,ymax) number values. The table has geometry as a varbinary(max) value.
How would i get the bbox values from geometry field?
thanx for any suggestion.
I need for numeric values added to my view (xmin,ymin,xmax,ymax) number values. The table has geometry as a varbinary(max) value.
How would i get the bbox values from geometry field?
thanx for any suggestion.
From what I've understood, you can use
SUBSTRING()
on yourvarbinary
column to extract individual bound values and then cast the result toint
(if they areint
).Something like this: