# OpenLink Virtuoso Universal Server: Documentation - script

Chapter Contents | Prev | Next
Keyword Search:
www.openlinksw.com
docs.openlinksw.com
Book Home
Contents
Preface
Overview
Installation Guide
Quick Start & Tours
Sample ODBC & JDBC Applications
Conceptual Overview
Server Administration
Data Access Interfaces
SQL Reference
SQL Procedure Language Guide
Database Event Hooks
Data Replication, Synchronization and Transformation Services
Web Application Development
XML Support
RDF Database and SPARQL
Web Services
Runtime Hosting
Internet Services
Free Text Search
TPC C Benchmark Kit
Using Virtuoso with Tuxedo
Appendix
Virtuoso Functions Guide

## script

A (redundant) wrapper for SQL code, can be omitted.
< script language (optional) debug-srcfile (optional) debug-srcline (optional) debug-log (optional) />
Description

This control can appear only inside event handling controls and it always contain SQL code to be executed when the event occurs. There is no difference for VSPX compiler whether SQL code is enclosed in 'script' control or not. Some WYSIWYG tools can display the enclosed SQL code to the application developer according to custom attributes of this control but it does not affect the generated Virtuoso/PL code of the page.

Attributes
language = SqlName

Denotes the type of language, currently only Virtuoso/PL expressions are supported.

debug-srcfile

URI of the source document where the tag comes from.

debug-srcline

Line number in the source document where the tag comes from.

debug-log

This defines what sort of data are saved to the debugging log.