Config. Question

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

Table Type: Company

Table Name: Config. Question
Database Table Name: CRONUS UK Ltd_$Config_ Question$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 8612

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 Config. Question can be queried.

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Questionnaire Code]
   ,[Question Area Code]
   ,[No_]
   ,[Question]
   ,[Answer Option]
   ,[Answer]
   ,[Table ID]
   ,[Field ID]
   ,[Reference]
   ,[Question Origin]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Config_ Question$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Config_ Question$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Question]
LEFT JOIN
   [CRONUS UK Ltd_$Config_ Questionnaire$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Questionnaire]
      ON
         [Config. Question].[Questionnaire Code] = [Config. Questionnaire].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping]
      ON
         [Config. Question].[Table ID] = [Data Exch. Mapping].[Table ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Config. Question].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Config. Question].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Config. Question table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Questionnaire Code Primary Key SearchQuestionnaire CodeNormalCode10Questionnaire Codenvarchar(20)
Key to join to the Config. Questionnaire table.

Show/hide example query

SELECT
       [Config. Question].[Questionnaire Code]
       ,[Config. Questionnaire].[Code]
FROM
       [CRONUS UK Ltd_$Config_ Question$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Question]
LEFT JOIN
       [CRONUS UK Ltd_$Config_ Questionnaire$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Questionnaire]
              ON
                     [Config. Question].[Questionnaire Code] = [Config. Questionnaire].[Code]
2Question Area Code Primary Key SearchQuestion Area CodeNormalCode10Question Area Codenvarchar(20)
3No. Primary Key SearchNo.NormalInteger4No_int
4Question SearchQuestionNormalText250Questionnvarchar(500)
5Answer Option SearchAnswer OptionNormalText250Answer Optionnvarchar(500)
6Answer SearchAnswerNormalText250Answernvarchar(500)
7Table ID SearchTable IDNormalInteger4Table IDint
Key to join to the Data Exch. Mapping table.

Show/hide example query

SELECT
       [Config. Question].[Table ID]
       ,[Data Exch. Mapping].[Table ID]
FROM
       [CRONUS UK Ltd_$Config_ Question$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Question]
LEFT JOIN
       [CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping]
              ON
                     [Config. Question].[Table ID] = [Data Exch. Mapping].[Table ID]
8Field ID SearchField IDNormalInteger4Field IDint
9Reference SearchReferenceNormalText250Referencenvarchar(500)
10Question Origin SearchQuestion OriginNormalText30Question Originnvarchar(60)
11Field Name SearchField NameFlowFieldText30
12Field Caption SearchField CaptionFlowFieldText250
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
       [Config. Question].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Config_ Question$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Question]
LEFT JOIN
       [User] AS [User]
              ON
                     [Config. Question].[$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
       [Config. Question].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Config_ Question$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Question]
LEFT JOIN
       [User] AS [User]
              ON
                     [Config. Question].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

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