Isolated Storage

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

Table Type: System

Table Name: Isolated Storage
Database Table Name: Isolated Storage

Table Number: 2000000107

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 Isolated Storage can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [Isolated Storage]

Show/hide an example select of all columns by name

SELECT
   [App Id]
   ,[Scope]
   ,[Company Name]
   ,[User Id]
   ,[Key]
   ,[Value]
   ,[Encryption Status]
   ,[Target Value Type]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [Isolated Storage]

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

SELECT
   *
FROM
   [Isolated Storage] AS [Isolated Storage]
LEFT JOIN
   [Company] AS [Company]
      ON
         [Isolated Storage].[Company Name] = [Company].[Name]
LEFT JOIN
   [User] AS [User]
      ON
         [Isolated Storage].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Isolated Storage].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Isolated Storage table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1App Id Primary Key SearchApp IdNormalGUID16App Iduniqueidentifier
2Scope Primary Key SearchScopeNormalOption4Scopeint
Available options are:
  • “Module”
  • “Company”
  • “User”
  • “CompanyAndUser”
3Company Name Primary Key SearchCompany NameNormalText30Company Namenvarchar(60)
Key to join to the Company table.

Show/hide example query

SELECT
       [Isolated Storage].[Company Name]
       ,[Company].[Name]
FROM
       [Isolated Storage] AS [Isolated Storage]
LEFT JOIN
       [Company] AS [Company]
              ON
                     [Isolated Storage].[Company Name] = [Company].[Name]
4User Id Primary Key SearchUser IdNormalGUID16User Iduniqueidentifier
5Key Primary Key SearchKeyNormalText200Keynvarchar(400)
6Value SearchValueNormalBLOB8Valueimage
7Encryption Status SearchEncryption StatusNormalOption4Encryption Statusint
Available options are:
  • “PlainText”
  • “Encrypted”
  • “PendingForEncryption”
8Target Value Type SearchTarget Value TypeNormalOption4Target Value Typeint
Available options are:
  • “Text”
  • “SecretText”
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
       [Isolated Storage].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [Isolated Storage] AS [Isolated Storage]
LEFT JOIN
       [User] AS [User]
              ON
                     [Isolated Storage].[$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
       [Isolated Storage].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [Isolated Storage] AS [Isolated Storage]
LEFT JOIN
       [User] AS [User]
              ON
                     [Isolated Storage].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

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