ArcGIS Desktop

  • Documentation
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

Creating a table that contains an ST_Raster column

To create a table that includes the ST_Raster type, simply include a raster column of type ST_Raster in the SQL CREATE TABLE statement.

The raster column can only accept data of the kind acceptable to the ST_Raster type. For example, integers, characters, and geometry data will be rejected by the raster column.

  1. Use a CREATE TABLE statement and include a column of type ST_Raster.

    In these examples, a table named urban_areas is created with a raster and a name column. Use the syntax appropriate to your database management system.

    Oracle

    CREATE TABLE urban_area (raster sde.st_raster, name varchar2(255));
    

    PostgreSQL

    CREATE TABLE urban_area (raster st_raster, name varchar(255));
    

    SQL Server

    CREATE TABLE urban_area (raster st_raster, name varchar(255));
    

Related topics

  • Initializing an ST_Raster column

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacy | Legal