To create an ST_PixelData column, include a column of type ST_PixelData in the CREATE TABLE statement.
- Execute a CREATE TABLE statement and include a column that is defined as the ST_PixelData type.
The following statements create a table called pixels with an ST_PixelData column, pdata.
Oracle
CREATE TABLE pixels (pdata sde.ST_PixelData, row_id number(38));
PostgreSQL
CREATE TABLE pixels (pdata sde.ST_PixelData, row_id integer);
SQL Server
CREATE TABLE pixels (pdata dbo.ST_PixelData, row_id int);