Technical References - [SQLinfo]

numero = 279
interpreted = N
texte = [SQLinfo Params]...[/SQLinfo] Reports back information about a SQL connection that has already been established via [SQLconnect]. Example:
[SQLconnect dbType=MySQL&host=192.168.1.1&database=base&uid=sa&pwd=pass&conn_var=conn1]Connected successfully[/SQLConnect]SQLinfo reports:[SQLinfo conn_ref=conn1]Host: [SQL_HOST]Server Version: [SQL_SERVERVER]Client Version: [SQL_CLIENTVER][/SQLinfo]
ParameterDescription
conn_ref (or just 'ref')The name of a SQLConnect variable created (via the conn_var or var variable) by the successful execution of [SQLconnect].
The following tags are available inside a [SQLinfo] context:
TagDescription
[SQL_HOST] The IP Address/host name of the database server.
[SQL_SERVERTYPE]The RDBMS type of the database server; type returned: MYSQL, MSSQL, or ORACLE.
[SQL_SERVERVER]The version number of the SQL server; e.g. 7.0.
[SQL_CLIENTVER]The version number of the client being used to connect to the database server.
[SQL_DBNAME]The name of the database you have connected to, if any.
[SQLinfo Params]...[/SQLinfo]
Reports back information about a SQL connection that has already been established via [SQLconnect].

Example:

[SQLconnect dbType=MySQL&host=192.168.1.1&database=base&uid=sa&pwd=pass&conn_var=conn1]
Connected successfully
[/SQLConnect]

SQLinfo reports:
[SQLinfo conn_ref=conn1]
Host: [SQL_HOST]
Server Version: [SQL_SERVERVER]
Client Version: [SQL_CLIENTVER]
[/SQLinfo]


ParameterDescription
conn_ref (or just 'ref')The name of a SQLConnect variable created (via the conn_var or var variable) by the successful execution of [SQLconnect].


The following tags are available inside a [SQLinfo] context:

TagDescription
[SQL_HOST] The IP Address/host name of the database server.
[SQL_SERVERTYPE]The RDBMS type of the database server; type returned: MYSQL, MSSQL, or ORACLE.
[SQL_SERVERVER]The version number of the SQL server; e.g. 7.0.
[SQL_CLIENTVER]The version number of the client being used to connect to the database server.
[SQL_DBNAME]The name of the database you have connected to, if any.

DOWNLOAD WEBDNA NOW!

Top Articles:

Download WebDNA Applications

WebDNA applications...

F.A.Q

A compilation of some user's questions...

[biotype]

BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...

Technical Change History

This Technical Change History provides a reverse chronological list of WebDNA changes...

WebDNA Libraries

A list of available libraries for WebDNA...

Tips and Tricks

A list of user-submitted tips ...

Related Readings:

[commitdatabase]

[COMMITDATABASE db=name...

[store]

[store] is a simple context that stores variables permanently...

DB encryption

Database Automatic Encryption (from WebDNA 8...

[listvariables]

Lists all the text and/or math variables which have been set earlier on a page...

[input]

[url]...

[writefile]

[writefile] functions allows you to perform a wide variety of tasks...