Xbasic

SQL Namespace

Description

Classes to connect to SQL datasources.

Name
Description
SQL::Argument Class

SQL::Argument Class properties and an example.

SQL::Arguments Class

Properties and methods in the Arguments Class.

SQL::ArgumentUsage Enumerated Type

This is an enumerated type with one of the values below.

SQL::CallResult Object

SQL::CallResult Object and an example.

SQL::Connection Object

A SQL::Connection instance represents a potential or active database session.

SQL::DataTypeInfo Class

Properties and methods in the DataTypeInfo Class.

SQL DeleteStatement Object

SQL DeleteStatement Object properties, methods, and examples.

SQL::ImportStatement Object

The SQL::ImportStatement object parses and executes an Alpha Anywhere Portable SQL import statements of the general form.

SQL::IndexColumnInfo Object

SQL::IndexColumnInfo Object properties and methods

SQL::IndexInfo Class

A list of properties and methods in the IndexInfo class.

SQL::InsertStatement Object

The SQL::InsertStatement object encapsulates the parsing and properties of a SQL INSERT statement. as a result, it has the most properties. Its children are the various clauses that make up a complete INSERT statement.

SQL::IndexInfo Class

A list of properties and methods in the IndexInfo class.

SQL::Query Object

SQL::Query object methods and related enumerations and objects.

SQL::ReferenceList Object

The SelectTableReferences, ColumnReferences, and FunctionReferences properties of parsable (SQL::Query) objects all return a ReferenceList object. This object acts like an array. Unlike the List object, the items are from arbitrary nodes on the tree. Although the properties of the objects can be changed, the list itself is read-only. All functions take a zero-based position index. Array syntax is one-based.

SQL::ResultSet Object

SQL::ResultSet Object properties and methods.

SQL::Row Class

SQL::Row Class properties and methods

SQL::Schema Object

SQL::Schema Object properties and methods.

SQL::Statement Object

The SQL::Statement object encapsulates the parsing and properties of a SQL SELECT, INSERT, UPDATE, or DELETE statement. as a result, it's properties will change depending on the last successfully processed SQL statement. Look at the related SQL::Query, SQL::InsertStatement, SQL::UpdateStatement, or SQL::DeleteStatement objects for available properties in each of these cases.

SQL::TableFilter Class

Used to create a filter for listing tables in a database.

SQL::TableInfo Class

Functions for inspecting information about tables.

SQL::TableType Enumerated Type

Internal use only. This is an enumerated type with one of the values below.

SQL::UpdateStatement Object

The SQL::UpdateStatement object encapsulates the parsing and properties of a SQL UPDATE statement. as a result, it has the most properties. Its children are the various clauses that make up a complete UPDATE statement.

AlphaDAO Objects

The Alpha Anywhere Enterprise edition provides Xbasic program access to SQL databases such as Microsoft SQL Server, Oracle, MySQL as well as Microsoft Access. This functionality extends the familiar Alpha Anywhere database features that previously supported only .DBF files. AlphaDAO provides the following SQL objects. Each object has properties and methods.

SQL History Dialog

At any time while running the SQL Command dialog, you may click the 'curvy arrow and footprints' icon

SQL::IntermediateType Enumerated Type

This is an enumerated type with one of the values in the table below. Each type can be understood very precisely at the database API level and will result in better mapping of types between SQL databases.

SQL::ReferentialUpdateRule Enumerated Type

This is an enumerated type is used to describe desired behavior when an update or a delete occurs for a table that has references to it from one or more other tables. The value is specified as an update or delete rule for a specific reference (foreign key relationship) and is a constraint on the referencing table. The values in the following list are supported:

SQL::ColumnValue Class

A SQL::ColumnValue specifies the name and value for a column.

SQL::DatabaseSnapshot Class

Class for creating snapshots of databases.

SQL::List Object

All properties that are arrays support the following properties and methods. Since an array may support several types of objects, you must check an item for token type (using the TargetTokenType property) before referencing its properties. The list items may be accessed using array syntax. All functions take a zero-based position index. Array syntax is one-based.

SQL::LocalDB Namespace

Functions for working with SQLLocalDB instances.

SQL::RowSnapshot Class

A SQL::RowSnapshot loads and stores the data for a single table row.

SQL::UpdateWhereCriteria Enumerated Type

This is an enumerated type with one of the values in the list below:

SQL::TableSnapshot Class

A SQL::TableSnapshot loads and stores the definition and data for a single table.

Methods

Session.GetSQLCredentials Method

Gets current user name and password for SQL connections.