例 - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - 地理空間データ型

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
2020年6月
Language
日本語
Last Update
2021-03-30
dita:mapPath
ja-JP/vci1556127188517.ditamap
dita:ditavalPath
ja-JP/vci1556127188517.ditaval
dita:id
B035-1181
Product Category
Software
Teradata Vantage
CREATE TABLE varchar_tab1 (a int, b VARCHAR (60000));
INSERT INTO varchar_tab1 VALUES (1001, 'Point(10 20 30)');
CREATE TABLE sample_shapes(skey INTEGER, shape ST_Geometry);
INSERT INTO sample_shapes
SELECT a, SYSSPATIAL.ST_GeomFromText(b) FROM varchar_tab1;
SELECT * FROM sample_shapes;