Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.databases.ms-sqlserver > #1440

Re: How to use hint in the update statement

From Erland Sommarskog <esquel@sommarskog.se>
Newsgroups comp.databases.ms-sqlserver
Subject Re: How to use hint in the update statement
Date 2013-04-09 22:38 +0200
Organization Erland Sommarskog
Message-ID <XnsA19DE663A173EYazorman@127.0.0.1> (permalink)
References <9cc8b542-800d-4221-9367-4ed17a42ea46@googlegroups.com>

Show all headers | View raw


migurus (migurus@yahoo.com) writes:
> I have a table that keeps spatial data of Los Angeles freeways, the data
> is combined into one record and column type is geography. There is
> another table that keeps some 8+ million of points. I need to calculate
> and set the distance from each point to the freeway and keep it in the
> points table. The distance attribute is actually 1, 2, 3, 4, 5, -1. That
> mark a point within 1 mile, or 2 mile etc. from the freeway. All points
> further than 5 miles are marked with -1. 


These speci^H^H^Hatial data types go well over my head. I would suggest 
that you try the MSDN forum for Spatial:
http://social.msdn.microsoft.com/Forums/en-US/sqlspatial/threads


-- 
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx

Back to comp.databases.ms-sqlserver | Previous | NextPrevious in thread | Find similar


Thread

How to use hint in the update statement migurus <migurus@yahoo.com> - 2013-04-09 11:27 -0700
  Re: How to use hint in the update statement Erland Sommarskog <esquel@sommarskog.se> - 2013-04-09 22:38 +0200

csiph-web