SELECT Statements
Features
The following features are supported for the SELECT statement:
1. Using * to select all columns is supported.
SELECT * FROM Customers2. Column aliases are supported.
SELECT Name AS MY_Name FROM Customers3. Quoted column names are supported.
SELECT [Name] FROM Customers4. The = are supported in the WHERE Clause.
SELECT * FROM Customers WHERE Name = 'Hook, Captain';5. LIMIT is supported
SELECT * FROM Customers LIMIT 106. Parameterized SELECT statements are supported.
SELECT * FROM Customers WHERE Name = @param
Pseudo-Columns
The RSSBus ADO.NET Provider for QuickBooks offers some input-only fields in the SELECT Statements. These fields, called pseudo-columns, do not
appear as regular columns in the results, yet may be specified as part of the WHERE clause. Pseudo-columns allow
access to additional features from QuickBooks.
SELECT * FROM Customers WHERE StartModifiedDate = 2011-11-11
Limitations
The SQL Syntax for the SELECT statement has the following limitations in this version (when compared to tools like SQL Server):
- Table joins are not supported, so a query can only reference a single table in the FROM clause.
- GROUP BY, HAVING clauses and nested statements are not supported.
- Scalar or aggregation functions are not supported.
Please see the Using Cached Data section for information in using the SELECT statement in offline mode.