LassoScript Utility
Basics Browse Detail

[Schema_Name]

Tag Link [Schema_Name] Category Database
Type Substitution Source Available No
Support Preferred Version 6.0.2
Change Unchanged Data Source JDBC
Output Type String Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0

Description

[Schema_Name] returns the name of the current schema for a JDBC data source.

If this tag is called within [Inline] ... [/Inline] tags, it returns the name of the schema which is specified in the parameters of the opening [Inline] tag. This tag is only available for JDBC data sources that support named schema ownership.

Syntax

[Schema_Name]

Parameters

No Parameters Required.

Examples

To return the name of the schema being used for the current action:

Use the [Schema_Name] tag. The following example displays the name of the schema being used in [Inline] ... [/Inline] tags to the visitor.

[Inline: -Schema='SchemaName', -Database='Employees', -Table='People', -FindAll]
  <br>The schema [Schema_Name] is being used.
[/Inline]

The schema SchemaName is being used.