Click here to Skip to main content
15,884,537 members
Please Sign up or sign in to vote.
1.44/5 (2 votes)
My statement:

SQL
DECLARE @g1 geograpgy="CIRCULARSTRING EMPTY";


C++
"A .NET Framework error occurred during execution of user-defined routine or aggregate "geometry": System.FormatException: 24114: The label CIRCULARSTRING EMPTY in the input well-known text (WKT) is not valid. Valid labels are POINT, LINESTRING, POLYGON, MULTIPOINT, MULTILINESTRING, MULTIPOLYGON, or GEOMETRYCOLLECTION."


Is this due my SQL Version ( I Am Using SQL Server 2008 R2) or I am doing something wrong. ?
Posted
Updated 23-Nov-14 23:22pm
v2
Comments
Shweta N Mishra 21-Nov-14 11:04am    
check with geography datatype.
Er. Puneet Goel 24-Nov-14 5:23am    
I tried that only..but still no result.

1 solution

I got the Solution. Actually these features are introduced in sql server 2012. So earlier version needs to upgrade.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900