Home > Contents > Index >
FLUSH
Flushes a list.
Syntax
<FLUSH LIST="LIST_NAME"/>Parameters
LIST (required)- Name of the list to flush.
Description
The
FLUSHtag flushes a list. If the list contains a database resultset,FLUSHclears the resultset from the cache. If the list contains afilelistorstringlist,FLUSHfrees system resources.Error Numbers
The possible values of
errnoinclude:
Value Description -100 General exception.Example
The following example selects all rows from the
NewPortalArticletable, displays theheadlinefrom each row, then flushes the list. Since the list is flushed, subsequent identical queries are rerun against the database. If the list is not flushed, the cached resultset is used for subsequent identical queries against theNewPortalArticletable.<RENAMELIST LIST = "Articles" FROM = "PortalArticles" /> <SELECTTO FROM="NewPortalArticle" WHAT="*" LIST="Articles" /> <SETVAR NAME = "errno" VALUE = "0" /> <IF COND="Variables.errno=0"> <THEN> <LOOP LIST="Articles"> <CSVAR NAME="Articles.headline"/> <br/> </LOOP> </THEN> </IF> <FLUSH LIST = "Articles" />See Also
Home > Contents > Index > ![]()
Oracle XML Tag Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.