Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/9183
Table Type: Company
Table Name: Generic Chart Query Column
Database Table Name: CRONUS UK Ltd_$Generic Chart Query Column$437dbf0e-84ff-417a-965d-ed2bb9650972
Due to how Dynamics BC tables and columns are named, square brackets need to be wrapped around the table name and column names. Below are example queries showing how Generic Chart Query Column can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Generic Chart Query Column$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Query No_]
,[Query Column No_]
,[Column Name]
,[Column Data Type]
,[Column Type]
,[Entry No_]
,[Aggregation Type]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Generic Chart Query Column$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Generic Chart Query Column$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Generic Chart Query Column]
LEFT JOIN
[User] AS [User]
ON
[Generic Chart Query Column].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Generic Chart Query Column].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Generic Chart Query Column table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Query No. | Query No. | Normal | Integer | 4 | Query No_ | int |
2 | Query Column No. | Query Column No. | Normal | Integer | 4 | Query Column No_ | int |
3 | Column Name | Column Name | Normal | Text | 50 | Column Name | nvarchar(100) |
4 | Column Data Type | Column Data Type | Normal | Option | 4 | Column Data Type | int |
Available options are:
| |||||||
5 | Column Type | Column Type | Normal | Option | 4 | Column Type | int |
Available options are:
| |||||||
6 | Entry No. | Entry No. | Normal | Integer | 4 | Entry No_ | int |
7 | Aggregation Type | Aggregation Type | Normal | Option | 4 | Aggregation Type | int |
Available options are:
| |||||||
2000000000 | $systemId | System ID | Normal | GUID | 16 | $systemId | uniqueidentifier |
2000000001 | SystemCreatedAt | Created At | Normal | DateTime | 8 | $systemCreatedAt | datetime |
2000000002 | SystemCreatedBy | Created By | Normal | GUID | 16 | $systemCreatedBy | uniqueidentifier |
Key to join to the User table.Show/hide example querySELECT [Generic Chart Query Column].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Generic Chart Query Column$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Generic Chart Query Column] LEFT JOIN [User] AS [User] ON [Generic Chart Query Column].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |