Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/2000000159
Table Type: System
Table Name: Data Sensitivity
Database Table Name: Data Sensitivity
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 Data Sensitivity can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[Data Sensitivity]
Show/hide an example select of all columns by name
SELECT
[Company Name]
,[Table No]
,[Field No]
,[Data Sensitivity]
,[Last Modified By]
,[Last Modified]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[Data Sensitivity]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[Data Sensitivity] AS [Data Sensitivity]
LEFT JOIN
[Company] AS [Company]
ON
[Data Sensitivity].[Company Name] = [Company].[Name]
LEFT JOIN
[User] AS [User]
ON
[Data Sensitivity].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Data Sensitivity].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Data Sensitivity table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Company Name | Company Name | Normal | Text | 30 | Company Name | nvarchar(60) |
Key to join to the Company table.Show/hide example querySELECT [Data Sensitivity].[Company Name] ,[Company].[Name] FROM [Data Sensitivity] AS [Data Sensitivity] LEFT JOIN [Company] AS [Company] ON [Data Sensitivity].[Company Name] = [Company].[Name] | |||||||
2 | Table No | Table No | Normal | Integer | 4 | Table No | int |
3 | Field No | Field No | Normal | Integer | 4 | Field No | int |
4 | Table Caption | Table Caption | FlowField | Text | 80 | ||
5 | Field Caption | Field Caption | FlowField | Text | 80 | ||
6 | Field Type | Field Type | FlowField | Option | 4 | ||
7 | Data Sensitivity | Data Sensitivity | Normal | Option | 4 | Data Sensitivity | int |
Available options are:
| |||||||
8 | Last Modified By | Last Modified By | Normal | GUID | 16 | Last Modified By | uniqueidentifier |
9 | Last Modified | Last Modified | Normal | DateTime | 8 | Last Modified | datetime |
10 | Data Classification | Data Classification | FlowField | Option | 4 | ||
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 [Data Sensitivity].[$systemCreatedBy] ,[User].[User Security ID] FROM [Data Sensitivity] AS [Data Sensitivity] LEFT JOIN [User] AS [User] ON [Data Sensitivity].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |