CDS Environment

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

Table Type: Company

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

Table Number: 7202

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 CDS Environment can be queried.

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [API Url]
   ,[Environment Name]
   ,[Id]
   ,[Last Updated]
   ,[State]
   ,[Unique Name]
   ,[Url]
   ,[Version]
   ,[Url Name]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$CDS Environment$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns including those from all joined tables

SELECT
   *
FROM
   [CRONUS UK Ltd_$CDS Environment$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [CDS Environment]
LEFT JOIN
   [CRONUS UK Ltd_$Guided Experience Item$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Guided Experience Item]
      ON
         [CDS Environment].[Version] = [Guided Experience Item].[Version]
LEFT JOIN
   [User] AS [User]
      ON
         [CDS Environment].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [CDS Environment].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in CDS Environment table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1API Url SearchAPI UrlNormalText120API Urlnvarchar(240)
2Environment Name SearchEnvironment NameNormalText250Environment Namenvarchar(500)
3Id SearchIdNormalGUID16Iduniqueidentifier
4Last Updated SearchLast UpdatedNormalDateTime8Last Updateddatetime
5State SearchStateNormalInteger4Stateint
6Unique Name SearchUnique NameNormalText120Unique Namenvarchar(240)
7Url Primary Key SearchUrlNormalText250Urlnvarchar(500)
8Version SearchVersionNormalText25Versionnvarchar(50)
Key to join to the Guided Experience Item table.

Show/hide example query

SELECT
	       [CDS Environment].[Version]
	       ,[Guided Experience Item].[Version]
	FROM
	       [CRONUS UK Ltd_$CDS Environment$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [CDS Environment]
	LEFT JOIN
	       [CRONUS UK Ltd_$Guided Experience Item$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Guided Experience Item]
	              ON
	                     [CDS Environment].[Version] = [Guided Experience Item].[Version]
9Url Name SearchUrl NameNormalText250Url Namenvarchar(500)
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
	       [CDS Environment].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$CDS Environment$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [CDS Environment]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [CDS Environment].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Leave a Reply

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