Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/226
Table Type: Company
Table Name: VAT Reg_ No_ Srv_ Template
Database Table Name: CRONUS UK Ltd_$VAT Reg_ No_ Srv_ Template$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 VAT Reg_ No_ Srv_ Template can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$VAT Reg_ No_ Srv_ Template$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[timestamp]
,[Code]
,[Country_Region Code]
,[Account Type]
,[Account No_]
,[Validate Name]
,[Validate Street]
,[Validate City]
,[Validate Post Code]
,[Ignore Details]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$VAT Reg_ No_ Srv_ Template$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$VAT Reg_ No_ Srv_ Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Reg_ No_ Srv_ Template]
LEFT JOIN
[CRONUS UK Ltd_$Country_Region$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Country_Region]
ON
[VAT Reg_ No_ Srv_ Template].[Country_Region Code] = [Country_Region].[Code]
Show/hide columns in VAT Reg_ No_ Srv_ Template table
Column ID | Column Name | Data Type | ||||
---|---|---|---|---|---|---|
1 | timestamp ![]() | timestamp | ||||
2 | Code ![]() ![]() | nvarchar(40) | ||||
3 | Country_Region Code ![]() | nvarchar(20) | ||||
Key to join to the Country_Region table.Show/hide example querySELECT
[VAT Reg_ No_ Srv_ Template].[Country_Region Code]
,[Country_Region].[Code]
FROM
[CRONUS UK Ltd_$VAT Reg_ No_ Srv_ Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Reg_ No_ Srv_ Template]
LEFT JOIN
[CRONUS UK Ltd_$Country_Region$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Country_Region]
ON
[VAT Reg_ No_ Srv_ Template].[Country_Region Code] = [Country_Region].[Code] | ||||||
4 | Account Type ![]() | int | ||||
5 | Account No_ ![]() | nvarchar(40) | ||||
6 | Validate Name ![]() | tinyint | ||||
7 | Validate Street ![]() | tinyint | ||||
8 | Validate City ![]() | tinyint | ||||
9 | Validate Post Code ![]() | tinyint | ||||
10 | Ignore Details ![]() | tinyint | ||||
11 | $systemId ![]() | uniqueidentifier | ||||
12 | $systemCreatedAt ![]() | datetime | ||||
13 | $systemCreatedBy ![]() | uniqueidentifier | ||||
14 | $systemModifiedAt ![]() | datetime | ||||
15 | $systemModifiedBy ![]() | uniqueidentifier |