XML Buffer

Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/1235

Table Type: Company

Table Name: XML Buffer
Database Table Name: CRONUS UK Ltd_$XML Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 1235

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 XML Buffer can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$XML Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [Entry No_]
   ,[Type]
   ,[Name]
   ,[Path]
   ,[Value]
   ,[Depth]
   ,[Parent Entry No_]
   ,[Is Parent]
   ,[Data Type]
   ,[Code]
   ,[Node Name]
   ,[Has Attributes]
   ,[Node Number]
   ,[Namespace]
   ,[Import ID]
   ,[Value BLOB]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$XML 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_$XML Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [XML Buffer]
LEFT JOIN
   [User] AS [User]
      ON
         [XML Buffer].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [XML Buffer].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in XML Buffer table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Entry No. Primary Key SearchEntry No.NormalInteger4Entry No_int
2Type SearchTypeNormalOption4Typeint
Available options are:
  • ” “
  • “Element”
  • “Attribute”
  • “Processing Instruction”
3Name SearchNameNormalText250Namenvarchar(500)
4Path SearchPathNormalText250Pathnvarchar(500)
5Value SearchValueNormalText250Valuenvarchar(500)
6Depth SearchDepthNormalInteger4Depthint
7Parent Entry No. SearchParent Entry No.NormalInteger4Parent Entry No_int
8Is Parent SearchIs ParentNormalBoolean4Is Parenttinyint
9Data Type SearchData TypeNormalOption4Data Typeint
Available options are:
  • “Text”
  • “Date”
  • “Decimal”
  • “DateTime”
10Code SearchCodeNormalCode20Codenvarchar(40)
11Node Name SearchNode NameNormalText250Node Namenvarchar(500)
12Has Attributes SearchHas AttributesNormalBoolean4Has Attributestinyint
13Node Number SearchNode NumberNormalInteger4Node Numberint
14Namespace SearchNamespaceNormalText250Namespacenvarchar(500)
15Import ID SearchImport IDNormalGUID16Import IDuniqueidentifier
16Value BLOB SearchValue BLOBNormalBLOB8Value BLOBimage
2000000000$systemId SearchSystem IDNormalGUID16$systemIduniqueidentifier
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8$systemCreatedAtdatetime
2000000002SystemCreatedBy SearchCreated ByNormalGUID16$systemCreatedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
       [XML Buffer].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$XML Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [XML Buffer]
LEFT JOIN
       [User] AS [User]
              ON
                     [XML Buffer].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
       [XML Buffer].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$XML Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [XML Buffer]
LEFT JOIN
       [User] AS [User]
              ON
                     [XML Buffer].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

Your email address will not be published. Required fields are marked *