troubleshooting Question

How to use spatial data types in SQL Server Database project

Avatar of Ali Shah
Ali ShahFlag for United Kingdom of Great Britain and Northern Ireland asked on
Microsoft SQL Server* CLRC#
2 Comments1 Solution286 ViewsLast Modified:
Hi guys,

I want to write the stored procedures and the UDF etc in managed code using C#CLR, however i am struggling to find the namespace to be used in SQL Database project type.

This name space https://msdn.microsoft.com/en-us/library/microsoft.sqlserver.types.aspx has got the spatial data types but this is not available in the SQL Server Database project.

For instance i am writing a UDF in CLR managed code and i want to use the geography data type.

regards,
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros