Dear List,
I have an question according to an update on SQL-Server.
-I spatialised a DB.
-I created a table -- added to columns. SW_GEOMETRY and SW_MEMBER.
-I spatialised Columns
exec sp_sw_spatialize_column 'dbo','TEST','SW_GEOMETRY','SW_MEMBER'
- I generated an R-Tree Index
exec sp_sw_create_rtree 'dbo','TEST','SW_GEOMETRY','SW_MEMBER'
- I inserted data from a another table
INSERT INTO TEST
(ID, Name, XDEZ, YDEZ)
SELECT ID, Name, X_KOORD, Y_KOORD
FROM TABLE_Temp
And now I would like to store the PointInformation in SW_GEOMETRY!!
and tried to to update the field: SW_GEOMETRY.
UPDATE TEST set SW_GEOMETRY = 'ST_SPATIAL(ST_Point(XDEZ,YDEZ))'
(the fields XDEZ and YDEZ are filled with floats.)
But that failed!!
Any help would be appreciated.
Thanks in Advance.
Mit freundlichen Gr��en
microm
Micromarketing-Systeme und Consult GmbH
Hendrik Po�berg
Manager Geodaten
Hellersbergstr. 14
41460 Neuss
Phone: 02131-10 97 51
Fax: 02131-10 97 77
mailto:[EMAIL PROTECTED]
***
Aktuelles:
Abonnieren Sie kostenlos das aktuelle microMagazin. In jedem Quartal aktuelle
Informationen �ber die neuesten Entwicklungen bei microm, unseren Partnern und
Kunden. Einfach online bestellen unter www.microm-online.de!
***
___________________________________________
Diese Nachricht wurde elektronisch versandt und ist daher auch ohne
Unterschrift rechtsgueltig. Der Inhalt dieser E-Mail enth�lt vertrauliche
Informationen. Das
Kopieren und die Weitergabe an Dritte ist nicht gestattet. Sollten Sie diese
E-Mail irrtuemlich von uns erhalten haben, bitten wir Sie, diese zu vernichten
und uns darueber zu informieren.
Im Voraus vielen Dank.
____________________________________________
---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 15077