STisGeo: Checking if a column in a table or a view is of type geometry or geography
Sometimes things are simple and prosaic rather than clever and complicated. Building solutions in TSQL requires one to build a prior collection of handy functions before one can be really productive. Here is a function I use called isGeo which if provided the name of a table/view and a column name returns 1 (true) ifRead More