Home > Contents > Index >
AssetMaker   |    Cart Tags   |    Errors   |    Miscellany   |    Index

 

STORAGE

This tag defines the data type of the column being defined for the property. A STORAGE statement is nested within a set of PROPERTY tags.

Syntax

Parameters

TYPE (required)
The data type of the column that this PROPERTY statement defines. You can specify any of the following data types: CHAR, VARCHAR, LONGVARCHAR, BINARY, SMALLINT, INTEGER, BIGINT, DOUBLE, TIMESTAMP.

These data types are defined by the following Content Server database properties located in the futuretense.ini file:

Type (generic ODBC/JDBC data type)
Property
    CHAR
    
    cc.char
    
    VARCHAR
    
    cc.varchar
    
    LONGVARCHAR
    
    cc.bigtext
    
    BINARY
    
    cc.blob
    
    SMALLINT
    
    cc.smallint
    
    INTEGER
    
    cc.integer
    
    BIGINT
    
    cc.bigint
    
    DOUBLE
    
    cc.double
    
    TIMESTAMP
    
    cc.datetime
    

 

LENGTH (required if TYPE="VARCHAR")
The length of the field. Only applicable if the type is either VARCHAR or CHAR and required if the type is VARCHAR.

Examples

This defines an asset property using CHAR storage

This defines an asset property with VARCHAR storage.

This defines an asset property with LONGVARCHAR (clob) storage.

This defines an asset property with BINARY (blob) storage.

This defines an asset property with SMALLINT storage.

This defines an asset property with INTEGER storage.

This defines an asset property with BIGINT storage.

This defines an asset property with DOUBLE storage.

This defines an asset property with TIMESTAMP storage.

  Home > Contents > Index >

FatWire Miscellaneous Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.