Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
ics:catalogmanager.deleterows
Deletes multiple rows in a table using
ics:catalogmanager.Syntax
<ics:catalogmanager>
<ics:argument name="ftcmd" value="deleterows" /> <ics:argument name="tablename" value="table" /> <ics:argument name="primarykeyN" value="keyvalue"/> [<ics:argument name="Delete uploaded file(s)"</ics:catalogmanager>
value ="yes|no"/>]Parameters
ftcmd (required)- Values must be set to
deleterows.
tablename (required)- Name of the table containing the rows to delete.
primarykeyN (required)- Value of row's primary key. The
primarykeyparameter is the primary key's column name. The value ofNcorresponds to the row number--in the resultset--that you want to delete.
Delete uploaded file(s)(optional)- Value should be set to
yesif upload files associated with row should be deleted. Default isno.
Description
The
deleterowscommand deletes rows in a table. You can also delete uploaded files.Error Numbers
The possible values of
errnoinclude:
Value Description -105 Database error.Example
The following example deletes all rows from ExampleTable that have id=1 or id=2.
<ics:catalogmanager>
<ics:argument name="ftcmd" value="deleterows" />
<ics:argument name="tablename" value="ExampleTable" />
<ics:argument name="id0" value="1"/>
<ics:argument name="id1" value="2"/>
</ics:catalogmanager>
See Also
The following
ics:catalogmanagercommands:
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.