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

 

ics:literal

Formats literals for ics:callsql and other tasks beyond those for which ics: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.

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.

  Home > Contents > Index >

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