Technical References - [SQLrelease]

numero = 281
interpreted = N
texte = [SQLrelease result_ref=] [SQLrelease] will close the result set and variable name created by a [SQLexecute] context. The name is freed and available for use again. All SQL result objects are released at the end of template execution anyway, so it is not required to use [SQLrelease]. However, it can come in handy if you wish to iterate several [SQLexecute] contexts, re-using the same result variable name for each SQL execution.
ParametersDescription
conn_ref (or just 'ref')(Required) - The name of the SQLConnect variable you have created via the conn_var (or var) parameter of a [SQLconnect] context you have already successfully executed.
[SQLrelease result_ref=]

[SQLrelease] will close the result set and variable name created by a [SQLexecute] context. The name is freed and available for use again.
All SQL result objects are released at the end of template execution anyway, so it is not required to use [SQLrelease]. However, it can come in handy if you wish to iterate several [SQLexecute] contexts, re-using the same result variable name for each SQL execution.

ParametersDescription
conn_ref (or just 'ref')(Required) - The name of the SQLConnect variable you have created via the conn_var (or var) parameter of a [SQLconnect] context you have already successfully executed.

DOWNLOAD WEBDNA NOW!

Top Articles:

WebDNA Modules

A list of the currently available modules...

Download WebDNA Applications

WebDNA applications...

F.A.Q

A compilation of some user's questions...

WebDNA reference

...

WebDNA Libraries

A list of available libraries for WebDNA...

Tips and Tricks

A list of user-submitted tips ...

Related Readings:

[movefile]

This instructions move a file from one location to another...

[lastautonumber]

displays the last auto-generated number...

ODBC

UNIX: Setting up WebDNA - ODBC - Database Server...

[sendmail]

There is hardly a website that doesn't at some point need to send an email...

[username]

Using [password] and [username] is an easy was to show the browser login dialog box...

[listdatabases]

Lists all the currently-open databases...