SQL Queries
Data Manipulation Language (DML) Queries
Starcounter 3.0 has the same SQL Query Processor as Starcounter 2.3.2. Please refer to the original documentation for the full specification.
Arbitrary database access
It is possible to perform arbitrary database access using Starcounter.Database.ISqlResult
, Starcounter.Database.ISqlResultRow
, and Starcounter.Database.ISqlResultColumn
interfaces.
The following example demonstrates how to execute an arbitrary SQL query and retrieve its result.
Data Definition Language (DDL) Queries
As of right now the following DDL statements are supported:
Create / drop database index
Create / drop database table
Starcounter database vs .NET CLR data types
There is no one to one match between Starcounter database data types and .NET CLR data types.
Use the following table to translate .NET CLR data type names into Starcounter database SQL data type names.
.NET CLR Data Type | Starcounter database data type |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Create / drop database table column
Last updated