Contact Alt. Address

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

Table Type: Company

Table Name: Contact Alt. Address
Database Table Name: CRONUS UK Ltd_$Contact Alt_ Address$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 5051

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 Contact Alt. Address can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Contact Alt_ Address$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [Contact No_]
   ,[Code]
   ,[Company Name]
   ,[Company Name 2]
   ,[Address]
   ,[Address 2]
   ,[City]
   ,[Post Code]
   ,[County]
   ,[Country_Region Code]
   ,[Phone No_]
   ,[Telex No_]
   ,[Extension No_]
   ,[Mobile Phone No_]
   ,[Pager]
   ,[E-Mail]
   ,[Home Page]
   ,[Fax No_]
   ,[Telex Answer Back]
   ,[Last Date Modified]
   ,[Search E-Mail]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Contact Alt_ Address$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Contact Alt_ Address$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Contact Alt. Address]
LEFT JOIN
   [Company] AS [Company]
      ON
         [Contact Alt. Address].[Company Name] = [Company].[Name]
LEFT JOIN
   [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
      ON
         [Contact Alt. Address].[City] = [Post Code].[City]
LEFT JOIN
   [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
      ON
         [Contact Alt. Address].[Post Code] = [Post Code].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Contact Alt. Address].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Contact Alt. Address].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Contact Alt. Address table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Contact No. Primary Key SearchContact No.NormalCode20Contact No_nvarchar(40)
Key to join to the Contact table.

Show/hide example query

SELECT
       [Contact Alt. Address].[Contact No_]
       ,[Contact].[No_]
FROM
       [CRONUS UK Ltd_$Contact Alt_ Address$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Contact Alt. Address]
LEFT JOIN
       [CRONUS UK Ltd_$Contact$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Contact]
              ON
                     [Contact Alt. Address].[Contact No_] = [Contact].[No_]
2Code Primary Key SearchCodeNormalCode10Codenvarchar(20)
3Company Name SearchCompany NameNormalText100Company Namenvarchar(200)
Key to join to the Company table.

Show/hide example query

SELECT
       [Contact Alt. Address].[Company Name]
       ,[Company].[Name]
FROM
       [CRONUS UK Ltd_$Contact Alt_ Address$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Contact Alt. Address]
LEFT JOIN
       [Company] AS [Company]
              ON
                     [Contact Alt. Address].[Company Name] = [Company].[Name]
4Company Name 2 SearchCompany Name 2NormalText50Company Name 2nvarchar(100)
5Address SearchAddressNormalText100Addressnvarchar(200)
6Address 2 SearchAddress 2NormalText50Address 2nvarchar(100)
7City SearchCityNormalText30Citynvarchar(60)
Key to join to the Post Code table.

Show/hide example query

SELECT
       [Contact Alt. Address].[City]
       ,[Post Code].[City]
FROM
       [CRONUS UK Ltd_$Contact Alt_ Address$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Contact Alt. Address]
LEFT JOIN
       [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
              ON
                     [Contact Alt. Address].[City] = [Post Code].[City]
8Post Code SearchZIP CodeNormalCode20Post Codenvarchar(40)
Key to join to the Post Code table.

Show/hide example query

SELECT
       [Contact Alt. Address].[Post Code]
       ,[Post Code].[Code]
FROM
       [CRONUS UK Ltd_$Contact Alt_ Address$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Contact Alt. Address]
LEFT JOIN
       [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
              ON
                     [Contact Alt. Address].[Post Code] = [Post Code].[Code]
9County SearchStateNormalText30Countynvarchar(60)
10Country/Region Code SearchCountry/Region CodeNormalCode10Country_Region Codenvarchar(20)
Key to join to the Country/Region table.

Show/hide example query

SELECT
       [Contact Alt. Address].[Country_Region Code]
       ,[Country/Region].[Code]
FROM
       [CRONUS UK Ltd_$Contact Alt_ Address$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Contact Alt. Address]
LEFT JOIN
       [CRONUS UK Ltd_$Country_Region$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Country/Region]
              ON
                     [Contact Alt. Address].[Country_Region Code] = [Country/Region].[Code]
12Phone No. SearchPhone No.NormalText30Phone No_nvarchar(60)
13Telex No. SearchTelex No.NormalText20Telex No_nvarchar(40)
14Extension No. SearchExtension No.NormalText30Extension No_nvarchar(60)
15Mobile Phone No. SearchMobile Phone No.NormalText30Mobile Phone No_nvarchar(60)
16Pager SearchPagerNormalText30Pagernvarchar(60)
17E-Mail SearchEmailNormalText80E-Mailnvarchar(160)
18Home Page SearchHome PageNormalText80Home Pagenvarchar(160)
19Fax No. SearchFax No.NormalText30Fax No_nvarchar(60)
20Telex Answer Back SearchTelex Answer BackNormalText20Telex Answer Backnvarchar(40)
21Last Date Modified SearchLast Date ModifiedNormalDate4Last Date Modifieddatetime
22Search E-Mail SearchSearch EmailNormalCode80Search E-Mailnvarchar(160)
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
       [Contact Alt. Address].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Contact Alt_ Address$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Contact Alt. Address]
LEFT JOIN
       [User] AS [User]
              ON
                     [Contact Alt. Address].[$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
       [Contact Alt. Address].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Contact Alt_ Address$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Contact Alt. Address]
LEFT JOIN
       [User] AS [User]
              ON
                     [Contact Alt. Address].[$systemModifiedBy] = [User].[User Security ID]

Show/hide tables related from Contact Alt. Address table

Leave a Reply

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