Lasso Soft Inc. > Home

[ schema_name ]

Method

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

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

  • Syntax
Schema_Name
Examples
  • Beginner

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

Use the [Schema_Name] method. The following example displays the name of the schema being used in an [Inline] code block to the visitor. For the purposes of the example the schema is called "thisSchema"

Code

Inline(
	-Schema='SchemaName', 
	-Database='Employees', 
	-Table='People', 
	-FindAll
	)
	'<br>The schema '+Schema_Name+' is being used.'
/Inline

Result

The schema thisSchema is being used.

Recent Comments

No Comments found

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft