Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/370
Table Type: Company
Table Name: Excel Buffer
Database Table Name: CRONUS UK Ltd_$Excel Buffer$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 Excel Buffer can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Excel Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Row No_]
,[xlRowID]
,[Column No_]
,[xlColID]
,[Cell Value as Text]
,[Comment]
,[Formula]
,[Bold]
,[Italic]
,[Underline]
,[NumberFormat]
,[Formula2]
,[Formula3]
,[Formula4]
,[Cell Type]
,[Double Underline]
,[Cell Value as Blob]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Excel Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Excel Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Excel Buffer]
LEFT JOIN
[User] AS [User]
ON
[Excel Buffer].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Excel Buffer].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Excel Buffer table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Row No. | Row No. | Normal | Integer | 4 | Row No_ | int |
2 | xlRowID | xlRowID | Normal | Text | 10 | xlRowID | nvarchar(20) |
3 | Column No. | Column No. | Normal | Integer | 4 | Column No_ | int |
4 | xlColID | xlColID | Normal | Text | 10 | xlColID | nvarchar(20) |
5 | Cell Value as Text | Cell Value as Text | Normal | Text | 250 | Cell Value as Text | nvarchar(500) |
6 | Comment | Comment | Normal | Text | 250 | Comment | nvarchar(500) |
7 | Formula | Formula | Normal | Text | 250 | Formula | nvarchar(500) |
8 | Bold | Bold | Normal | Boolean | 4 | Bold | tinyint |
9 | Italic | Italic | Normal | Boolean | 4 | Italic | tinyint |
10 | Underline | Underline | Normal | Boolean | 4 | Underline | tinyint |
11 | NumberFormat | NumberFormat | Normal | Text | 30 | NumberFormat | nvarchar(60) |
12 | Formula2 | Formula2 | Normal | Text | 250 | Formula2 | nvarchar(500) |
13 | Formula3 | Formula3 | Normal | Text | 250 | Formula3 | nvarchar(500) |
14 | Formula4 | Formula4 | Normal | Text | 250 | Formula4 | nvarchar(500) |
15 | Cell Type | Cell Type | Normal | Option | 4 | Cell Type | int |
Available options are:
| |||||||
16 | Double Underline | Double Underline | Normal | Boolean | 4 | Double Underline | tinyint |
17 | Cell Value as Blob | Cell Value as Blob | Normal | BLOB | 8 | Cell Value as Blob | image |
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 [Excel Buffer].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Excel Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Excel Buffer] LEFT JOIN [User] AS [User] ON [Excel Buffer].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |