- SQL Server:
- Connect AI:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
SQL functions are implemented in the Connect AI query API. As a result, these functions are available across all data sources with the same consistent API. Three categories of functions are available: string, date, and math.
SELECT DATENAME(yy,GETDATE())
SELECT DATENAME('yy',GETDATE())
SELECT CONCAT(firstname, space(4), lastname) FROM Account WHERE Industry = 'Floppy Disks'
SELECT CURRENT_TIMESTAMP() FROM Account
SELECT RAND() FROM Account
SELECT MIN(AnnualRevenue), Name FROM Account WHERE Industry = 'Floppy Disks' GROUP BY Name
SELECT Name, Role, Earnings, COUNT() OVER (PARTITION BY Role) FROM Employees
SELECT A.ID, X.name FROM [TableWithXMLField] A CROSS APPLY XMLTABLE(A.XMLContent,'//*/item') WITH (name VARCHAR(255)) AS X
SELECT CONCAT('Mr.', SPACE(2), firstname, SPACE(4), lastname) FROM Account
Was this page helpful?