Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5201
Table Type: Company
Table Name: Alternative Address
Database Table Name: CRONUS UK Ltd_$Alternative Address$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 Alternative Address can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Alternative Address$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[timestamp]
,[Employee No_]
,[Code]
,[Name]
,[Name 2]
,[Address]
,[Address 2]
,[City]
,[Post Code]
,[County]
,[Phone No_]
,[Fax No_]
,[E-Mail]
,[Country_Region Code]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Alternative 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_$Alternative Address$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Alternative Address]
LEFT JOIN
[CRONUS UK Ltd_$Country_Region$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Country_Region]
ON
[Alternative Address].[Country_Region Code] = [Country_Region].[Code]
Show/hide columns in Alternative Address table
Column ID | Column Name | Data Type | ||||
---|---|---|---|---|---|---|
1 | timestamp ![]() | timestamp | ||||
2 | Employee No_ ![]() ![]() | nvarchar(40) | ||||
3 | Code ![]() ![]() | nvarchar(20) | ||||
4 | Name ![]() | nvarchar(200) | ||||
5 | Name 2 ![]() | nvarchar(100) | ||||
6 | Address ![]() | nvarchar(200) | ||||
7 | Address 2 ![]() | nvarchar(100) | ||||
8 | City ![]() | nvarchar(60) | ||||
9 | Post Code ![]() | nvarchar(40) | ||||
10 | County ![]() | nvarchar(60) | ||||
11 | Phone No_ ![]() | nvarchar(60) | ||||
12 | Fax No_ ![]() | nvarchar(60) | ||||
13 | E-Mail ![]() | nvarchar(160) | ||||
14 | Country_Region Code ![]() | nvarchar(20) | ||||
Key to join to the Country_Region table.Show/hide example querySELECT
[Alternative Address].[Country_Region Code]
,[Country_Region].[Code]
FROM
[CRONUS UK Ltd_$Alternative Address$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Alternative Address]
LEFT JOIN
[CRONUS UK Ltd_$Country_Region$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Country_Region]
ON
[Alternative Address].[Country_Region Code] = [Country_Region].[Code] | ||||||
15 | $systemId ![]() | uniqueidentifier | ||||
16 | $systemCreatedAt ![]() | datetime | ||||
17 | $systemCreatedBy ![]() | uniqueidentifier | ||||
18 | $systemModifiedAt ![]() | datetime | ||||
19 | $systemModifiedBy ![]() | uniqueidentifier |