Pike v8.0 release 1738

Class Sql.tds

Description

The TDS SQL-protocol.

This protocol is used by Sybase and Microsoft's SQL-servers.

Example

Sql.Sql con = Sql.Sql("tds://user:pass@host/database");

See also

Sql.Sql()


Method create

Sql.tds Sql.tds(string|void server, string|void database, string|void user, string|void password, mapping|void options)

Description

Connect to a remote SQL server via the TDS protocol.

Parameter server

Server to connect to.

Parameter database

Database to connect to.

Parameter user

User to access as.

An explicit domain may be specified by preceeding the user name with the domain name and a '\\'.

Parameter password

Password to access with.

Usually accessed via Sql.Sql().

See also

Sql.Sql()