Home > Contents > Index >
Template Tag TOC  |   Alpha TOC  |   Tag Family TOC  |   Purpose TOC  |   Annotated TOC  |   Index 

 

ICS.LITERAL

Formats literals for CALLSQL and other tasks beyond those for which SQLEXP is designed.

Syntax

Parameters

TABLE (required)
Name of table.

COLUMN (required)
Name of column in the table.

STRING (required)
String that needs to be formatted into a literal for the specified column.

OUTPUT (required)
Variable name where the literal is placed.

Description

Specifying the table name and column name, Content Server determines which type of literal to create. Content Server has database-specified properties to help it format both string (cc.stringpicture) and timestamp literals (cc.datepicture). For cc.datetime data types, Content Server uses the cc.datepicture property. For cc.char, cc.varchar, and cc.bigtext, it uses the cc.stringpicture property.

errno

The possible values of errno include:

Value
Description
-100
General exception error.
-103
Invalid table name.
-106
Invalid column name.
-10004
Missing required parameter.

Example

The following query, named myquery, exists in the SystemSQL table.

The query is called in an element as follows:

In this example, Bubba is the string to be converted to a literal. The string is formatted according to the properties set for the database.

Release Introduced

This tag was introduced in CS release 5.0.

See Also

CALLSQL

  Home > Contents > Index >

FatWire XML Tag Reference
Copyright 2005 by FatWire Software
All rights reserved.